DateHelper Methods |
The DateHelper type exposes the following members.
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() ![]() | GetTimeSpan(DateTime) | 获取某个时间到当前时间的时间间隔 |
![]() ![]() | GetTimeSpan(DateTime, DateTime) | 获取某段时间的时间间隔 |
![]() ![]() | GetTimestamp | 获取当前时间的时间戳 UNIX 时间戳, 即从 1970年1月1日 00:00:00 到当前时间的秒数之和. |
![]() ![]() | GetTimestamp(DateTime) | 获取某个时间的 UNIX 时间戳, 即从 1970年1月1日 00:00:00 到某个时间的秒数之和. |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |