HttpContext.Timestamp 属性
定义
获取当前 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.