datetime variable in c# example value Example: instantiate date time variable C# DateTime dtDate = new DateTime(2020,1,1);