共用方式為


ISystemClock.UtcNow 屬性

定義

擷取 UTC 格式的目前系統時間。

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

屬性值

適用於