How to get the time from a DateTime object in C#? - Biz Tech

How to get the time from a DateTime object in C#?

Listen
 DateTime now = DateTime.Now;
TimeSpan timeOnly = now.TimeOfDay;
Console.WriteLine(timeOnly);