C# display form datetime without time in view code example Example: c# get date without time var dateAndTime = DateTime.Now; var date = dateAndTime.Date;