語言

SystemClock.UtcNow 屬性

定義

取得當前系統時間(UTC)。

public:
 property DateTimeOffset UtcNow { DateTimeOffset get(); };
public DateTimeOffset UtcNow { get; }
member this.UtcNow : DateTimeOffset
Public ReadOnly Property UtcNow As DateTimeOffset

屬性值

實作

備註

此 API 支援 .NET 基礎架構,並非直接從你的程式碼中使用。

適用於