Get timestamp of current hour in Javascript
This question already has an answer here:
一个很好运作:
var UTCTime= (new Date()).toUTCString();
var d = new Date();
var UTCHour = d.getUTCHours();
喜欢这个?
链接地址: http://www.djcxy.com/p/13566.html上一篇: 如何将特定时间转换为UTC时间戳