+ 2

Static Classes

static void Main(string[] args) { Console.WriteLine(DateTime.Now); Console.WriteLine(DateTime.Today); Console.WriteLine(DateTime.DaysInMonth(2016, 2)); } outputs: 10/5/2018 1:58:42 AM 10/5/2018 12:00:00 AM 29 Date output is correct. But Time shown is incorrect. And what 29 refers to...? HSWH(hope some will help)

5th Oct 2018, 2:07 AM
kp kalia
kp kalia - avatar
0 Respuestas