Api
Dateutils
OpenAPI > DateUtils
OpenAPI.DateUtils class
日期工具
Signature:
class DateUtils
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
| (date: string) => number | 日期转时间戳 | |
| (timestamp: number, data_type?: '' | 'y' | 'm' | 'd' | 'h' | 'i' | 's') => string | number | undefined | 时间戳转日期 |