c# remove time in datetime code example Example: c# remove time in datetime var dateAndTime = DateTime.Now; var date = dateAndTime.Date;