HttpContext.Timestamp HttpContext.Timestamp HttpContext.Timestamp HttpContext.Timestamp Property

定義

取得目前 HTTP 要求的初始時間戳記。Gets the initial timestamp of the current HTTP request.

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

屬性值

目前 HTTP 要求的時間戳記。The timestamp of the current HTTP request.

備註

Timestamp屬性傳回的時間戳記是伺服器的本地時間, 而且會在HttpContext物件的具現化期間設定。The timestamp returned from the Timestamp property is the local time of the server and is set during the instantiation of the HttpContext object. 當地時間等於 UTC 時間加上 UTC 時差。The local time is equal to the UTC time plus the UTC offset.

適用於