using System;
public class Program
{
public TimeSpan TimeOfDay { get; }
public static void Main()
DateTime date = DateTime.Now;
date.TimeOfDay;
}