DateTime.TimeOfDay Property
Gets the time-of-day component of the current DateTime object.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Syntax
public TimeSpan TimeOfDay { get; }
Property Value
A TimeSpan object that represents the portion of the current day that has elapsed since midnight.
Version Information
Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.