What day of the month is this? : Date Time : Development Class C# Source Code


Custom Search

C# Source Code » Development Class » Date Time »

 

What day of the month is this?








    
 

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);
    }
}

 
    
   
  
   







HTML code for linking to this page:

Follow Navioo On Twitter

C# Source Code

 Navioo Development Class
» Date Time