To get only the date portion use the ToString() method,
example: DateTime.Now.Date.ToString("dd/MM/yyyy")
Note:The mm in the dd/MM/yyyy format must be capitalized
To get only the date portion use the ToString() method,
example: DateTime.Now.Date.ToString("dd/MM/yyyy")
Note:The mm in the dd/MM/yyyy format must be capitalized