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
Error event occuring since bringing up new HubCAS sever
asp.net .
Where does this code start?
Extract icon from EXE/DLL
laptop display problems
logon mess
Sonicwall Pro230
How to view .stp or .wsp files in Microsoft Office sharepoint designer mode
Will an AGP Video Card work in a PCI Express Slot?
OMA and OWA