System.DateTimeOffset.TimeOfDay Property

Gets the time of day for the current DateTimeOffset object.

Syntax

public TimeSpan TimeOfDay { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The DateTimeOffset.TimeOfDay property is not affected by the value of the DateTimeOffset.Offset property.

The DateTimeOffset.TimeOfDay property returns the time component of a DateTimeOffset object in the form of a TimeSpan object. It is equivalent to the DateTime.TimeOfDay property.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0