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
How do I "PROPER" Addresses on excel 2010?
Windows 7 Enterprise vs Ultimate?
Webphere admin console throwing 404 error
Gridview delete
Can i remove this green screen
I want free software for foxpro2.6 for dos ?
Deleted Active Directory Administrator account
Office 2007 Word Docs Slow opening Over VPN
RHCE Exam
Domain controllers inventory