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