Here is another method using String.Format
DateTime todaysDate = DateTime.UtcNow; string dateString = String.Format("{0:dd/MM/yyyy}", todaysDate); Console.WriteLine("Date with Time: "+ todaysDate.ToString()); Console.WriteLine("Date Only : "+ dateString);
Output:
Date with Time: 9/4/2016 11:42:16 AMDate Only : 04/09/2016
This also works if the Date Time is stored in database.
For More Date and Time formatting check these links:
Hope helps.