Date.secs

Date.secs

Date.secs

功能

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

语法

参数

无参数。

返回值

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

示例

注意事项

  • seconds 与 secs 行为一致。