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 to connect Hyper-V Server 2008 R2 to Cluster Shared Volumes
Adding a Line Break and Center Text in a Submit Button
Security error accessing url-Destination: DefaultHTTP-Channel.Securi
ty.Error
Q945119 - storport.sys 5.2.3790.4189
Configuration for QNAP TS-410U after reset
how to indent a block of text
Small Business Server Crital alerts
"svc: short len 19, dropping request"
NAT setting and vmware
how can I read more then one cell an excel file in vb.net