You are viewing a single comment's thread. Return to all comments →
//in C#
string amPmHourFormatTime = Console.ReadLine(); System.Globalization.DateTimeFormatInfo dtFormat = new System.Globalization.DateTimeFormatInfo(); dtFormat.ShortDatePattern = "hh:mm:sstt"; Console.WriteLine(Convert.ToDateTime(amPmHourFormatTime, dtFormat).ToString("HH:mm:ss"));
Seems like cookies are disabled on this browser, please enable them to open this website
Time Conversion
You are viewing a single comment's thread. Return to all comments →
//in C#