DateTimeGMT() 函数
- Last UpdatedApr 04, 2022
- 1 minute read
返回自 1970 年 1 月 1 日以来的天数(包括非整天,通用协调时间 (UTC))。
备注:此函数无法用在动画显示链接中。
语法
result = DateTimeGMT();
返回值
自 1970 年 1 月 1 日以来的天数(UTC 时间)。实数值。
示例
此脚本返回 UTC 格式的当前日期/时间。
StringFromTime(DateTimeGMT() * 86400.0, 3);