SystemClock.UtcNow 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得當前系統時間(UTC)。
public:
property DateTimeOffset UtcNow { DateTimeOffset get(); };
public DateTimeOffset UtcNow { get; }
member this.UtcNow : DateTimeOffset
Public ReadOnly Property UtcNow As DateTimeOffset
屬性值
實作
備註
此 API 支援 .NET 基礎架構,並非直接從你的程式碼中使用。