I'm having some problems on putting my DateTime into a string when I try to put a "/" on the date on the output it does a tab instead of putting the "/"
changeDate_temp = calendarPostPone.SelectedDate.Value.ToString("dd/MM/yyyy").Split(' ');
showDate = new DateTime(Convert.ToInt32(changeDate_temp[2].Trim()),
Convert.ToInt32(changeDate_temp[1].Trim()),
Convert.ToInt32(changeDate_temp[0].Trim()),
12, 0, 0);
Console.WriteLine(showDate.ToString("dd/MM/yyyy | HH:mm"));
Output of the code:
All the code works just not the "Console.WriteLine(showDate.ToString("dd/MM/yyyy | HH:mm"));
" at least the way I want it to work..