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