Date.prototype.getUTCSeconds()
Date 实例的 getUTCSeconds() 方法根据世界时间返回指定日期的秒数。
¥The getUTCSeconds() method of Date instances returns the seconds in the specified date according to universal time.
Try it
语法
参数
返回值
示例
使用 getUTCSeconds()
规范
| Specification |
|---|
| ECMAScript Language Specification # sec-date.prototype.getutcseconds |
浏览器兼容性
BCD tables only load in the browser