System.DateTimeOffset.UtcDateTime Property

Gets a DateTime value that represents the Coordinated Universal Time (UTC) date and time of the current DateTimeOffset object.

Syntax

public DateTime UtcDateTime { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The DateTimeOffset.UtcDateTime property performs a dual conversion:

The DateTime.Kind property of the returned DateTimeOffset.DateTime value is set to DateTimeKind.Utc.

Retrieving the value of the DateTimeOffset.UtcDateTime property is equivalent to calling the current DateTimeOffset object's ToUniversalTime.DateTime property, except that the DateTime.Kind property of the latter DateTime value is DateTimeKind.Unspecified.

Requirements

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