Click or drag to resize
UnixTimestampHelper Class
UNIX 时间戳
Inheritance Hierarchy
SystemObject
  AdfUnixTimestampHelper

Namespace: Adf
Assembly: Adf (in Adf.dll) Version: 4.1.5549.27750
Syntax
public static class UnixTimestampHelper

The UnixTimestampHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberToDateTime
根据UNIX时间戳返回本地时间
Public methodStatic memberToTimestamp
根据指定的本地时间返回当前时间的Unix时间戳
Public methodStatic memberToTimestamp(DateTime)
根据指定的本地时间返回Unix时间戳
Public methodStatic memberToTimestamp(Int64)
根据.net时间戳转为unix时间戳
Top
Fields
  NameDescription
Public fieldStatic memberUNIXTIMESTAMP_BASE
UNIX TIMESTAMP
Public fieldStatic memberUNIXTIMESTAMP_BASETICK
UNIX TIMESTAMP TICK
Top
See Also

Reference