using System;
using System.Collections.Generic;
using System.Text;
class Program {
static void Main(string[] args) {
DateTime dt = new DateTime(2004, 10, 17);
Console.WriteLine("The day of {0} is {1}", dt.Date, dt.DayOfWeek);
}
}
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok