C# how to get only date without time code example Example: c# get date without time var dateAndTime = DateTime.Now; var date = dateAndTime.Date;