Date Time C#

using System;
using System.Globalization;
public class Example
{
   public static void Main()
   {
        DateTimeOffset localTime = DateTimeOffset.Now;
        DateTimeOffset utcTime = DateTimeOffset.UtcNow;
        
        Console.WriteLine("Local Time:          {0}", localTime.ToString("T"));
        Console.WriteLine("Difference from UTC: {0}", localTime.Offset.ToString());
        Console.WriteLine("UTC:                 {0}", utcTime.ToString("T"));
   }
}