Getting of the current date in C#

var now = DateTime.Now;