【发布时间】:2020-10-12 14:10:13
【问题描述】:
我正在使用需要某种日期格式的 API。我提供的日期示例是 10/1/2020,它转换为 1601528400000。我以前从未使用过这种类型的日期,完全不知道它可能是什么。有谁知道这是什么类型的日期格式?
【问题讨论】:
-
这是一个unix时间戳。 unixtimestamp.com
-
有DateTime constructor接受long。
-
@Sinatr 不过看起来不像滴答声。 Unix Timestamp 似乎是合理的。