Redigeeri

Jagamisviis:


DateTimeOffset.UtcTicks Property

Definition

Gets the number of ticks that represents the date and time of the current DateTimeOffset object in Coordinated Universal Time (UTC).

public:
 property long UtcTicks { long get(); };
public long UtcTicks { get; }
member this.UtcTicks : int64
Public ReadOnly Property UtcTicks As Long

Property Value

The number of ticks in the DateTimeOffset object's Coordinated Universal Time (UTC).

Remarks

The value of the UtcTicks property represents the number of 100-nanosecond intervals that have elapsed since 12:00:00 midnight on January 1, 0001 (the value of MinValue). It does not include ticks that would be added by leap seconds. A nanosecond is one billionth of a second; there are ten million ticks in a second. The value of the UtcTicks property ranges from DateTimeOffset.MinValue.Ticks to DateTimeOffset.MaxValue.Ticks.

Applies to