using System;
public class Program
{
public static void Main()
// Get the current DateTimeOffset
DateTimeOffset dto = DateTimeOffset.Now;
// Get the local date and time from the DateTimeOffset
DateTime localDateTime = dto.LocalDateTime;
// Print the local date and time
Console.WriteLine(localDateTime);
}