how to get only 26th from datetime in c# code example Example: c# get date without time var dateAndTime = DateTime.Now; var date = dateAndTime.Date;