共用方式為


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 基礎結構,不適合直接從您的程式代碼使用。

適用於