ISystemClock.UtcNow 属性

定义

检索当前系统时间 (UTC)。

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

属性值

适用于