as a beginner i try my hand to write different small codes to console application . but am having a prolbem here due to the fact that am not so aspect as yet. can some one help me write it well.
i want my code to output the name of day of the week when i enter a date . for example when i enter 23.12.1993. the computer should output it is a wednesday.
using System;
public class Daydemo
{
public static void Main()
{
int dt = ();
DateTime Dato = DateTime.Now;
dt = DateTime.Dato;
Console.WriteLine("The time is:"+dt);
}
}