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
ASP.NET LinQ Look up
WRVS4000 Router in front of Cisco ASA
Raid 1 mirror Bad block discovered
SCCM OSD deployment to Hyper-v R2
How to use table variable for input parameter
Formview insert doesnt insert data if I add postbackurl on button
Exchange 2007 Powershell - Set-MailboxDatabase add Journal Recipient that is a Distribution Group
Can a link a data point in an excel chart to another chart
how do i/can setup backup DC on an existing 2008 AD.
Macbook air connects to skype, but not on the internet