DateTime dt = DateTime.Now dt.Date is created to 31.10.2012 00:00:00 .it is created to dd.mm.yyyy format but i need dd/mm/yyyy. Can i use: return new DateTime(d.Year, d.Month
System.DateTime does not have any format. You can view its string representation in format. Try this
System.DateTime
Console.WriteLine(DateTime.Now.Date.ToString("dd'/'MM'/'yyyy"));