Friday, 10 August 2012

Convert 12 Hour Datetime format in C#

label.Text=dtStartTime.ToString("hh:mm tt");

No comments:

Post a Comment