December 22, 2015 HomeC# QuestionsHow to Convert Datetime to DD/MM/YYYY Format in C#/CSharp How to Convert Datetime to DD/MM/YYYY Format in C#/CSharp By Krishnaa C# Questions 0 Comments Sample code is given below. Make sure MM is in capital letters. using System; namespace Hello_World { class Program { static void Main(string[] args) { DateTime today = DateTime.Now; string dt = today.ToString("dd/MM/yyyy"); Console.WriteLine(dt); } } } ; You May Also Like: How to Get Current Month in String Format in C#/CSharp How to Get Current Date in C#/CSharp How to Get Current Time in C#/CSharp How to Get Current Year in C#/CSharp How to Convert Timestamp to Date Format in Javascript