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