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
Passing a structure from VBA in Excel to a C DLL
RPC through HTTP keeps prompting for pw on Exchange 2010
how do I reorganise a text file in powershell ?
problem installing oracle 8I on windows 7
Please suggest a suitable router
Citrix presentation Svr 4.5 - Data collector election
Self signed Exchange 2007 cert and Samsung Blackjack
Exchnage database restoration
How to exclude interal emails from Junk Mail filter
Backing up, virtual machines - Best Method.