how to get current system date in c# code example Example: c# get current date DateTime now = DateTime.Now;