how to get the full date and time in C# code example Example: c# get current date DateTime now = DateTime.Now;