Format time and date
using System;
class MainClass {
public static void Main() {
DateTime dt = DateTime.Now;
Console.WriteLine("24 hour time is {0:HH:mm}", dt);
}
}
Output 24 hour time is 13:53
|
HTML code for linking to this page:
Related in same category :
-
-
-
-
-
-
-
-
-
-
-
-
|