just date no time in datetime object c# code example Example: c# get date without time var dateAndTime = DateTime.Now; var date = dateAndTime.Date;