DateTime.TimeOfDay Property

Windows Automotive 5.0/5.5
Gets the time-of-day component of the current DateTime object.

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

public TimeSpan TimeOfDay { get; }

Property Value

A TimeSpan object that represents the portion of the current day that has elapsed since midnight.

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

Community Additions

ADD
Show: