Microsoft
Software
Hardware
Network
Question : C# 4.0 convert from 12h format to 24h format.
I have a string like this: 4:00:00 PM and I want to convert it to: 16:00:00 how can I do that with C#?
Answer : C# 4.0 convert from 12h format to 24h format.
string TimeString = "4:00:00 PM";
string NewTimeString = DateTime.Parse(TimeString)
.ToString(
"HH:mm");
Random Solutions
Visual Studio 2010 removal of Bite Order Mark VB -or PHP solution?
Java Not Working in Internet Explorer or Firefox
Software for use with EE
How to appear in local search engine in foriegn country without a host there?
error while executing a stored procedure
How can I check for an install new updates for Symantec Backup Exec? I have clicked on the Help drop down menu, but don't see any options for updates
Move users home folders to new storage partition
Ask user if they wish to overwrite existing file
simple math programming question
Computer doesnt power on...