December 21, 2015 How to Get Current Time in C#/CSharp By Krishnaa C# Questions 0 Comments using System; namespace Hello_World { class Program { static void Main(string[] args) { DateTime time = DateTime.Now; Console.WriteLine(time.ToShortTimeString()); } } } ; 123456789101112131415161718 using System; namespace Hello_World{ class Program { static void Main(string[] args) { DateTime time = DateTime.Now; Console.WriteLine(time.ToShortTimeString()); } }}; You May Also Like: How to Get Current Date in C#/CSharp How to Convert Datetime to DD/MM/YYYY Format in C#/CSharp How to Get Computer Name in C#/CSharp How to Get File Size in C#/CSharp How to Get File Name from Path in C#/CSharp