The easiest way is something like this and it will return only the date:
var date = DateTime.Now.ToShortDateString();
The easiest way is something like this and it will return only the date:
var date = DateTime.Now.ToShortDateString();