Date.seconds

Date.seconds

Date.seconds

功能

读取当前 Date 的秒级 Unix 时间戳。

语法

参数

无参数。

返回值

类型说明
Int返回秒级 Unix 时间戳。

示例

注意事项

  • seconds 是 secs 的别名。