SyntaxFix
Write A Post
Hire A Developer
Questions
Use upper-case HH for 24h format:
HH
String s = curr.ToString("HH:mm");
See DateTime.ToString Method.