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