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
Windows Update site fails to load
Getting group membership from LDAP
Script to automatically delete files older than 1 month Windows NT server
Icon causing trouble with spell checker
Setting up FTP Users on IIS 7.5
User can't receive emails sent to her personal email, but emails to group get through...
Binary data
What hardware is best suited for "number crunching" web applications?
Remove security from MS Access Database (Jet Engine)
Task Scheduler Windows 2008 Server performs task but stays stuck on running. Will this affect the next time the task runs?