hapiman / jsrice

A common utils using in javascript
0 stars 0 forks source link

new Date #13

Open hapiman opened 7 years ago

hapiman commented 7 years ago

GMT格林威治时间 UTC全球标准时间 UTC是比GMT更加准确的0时区时间,但是UTC和GMT基本上一致 UTC = GMT +/- 0.9 s

hapiman commented 7 years ago

new Date().getTimezoneOffset() 获取与零时区的分钟数, 北京地区执行为-480

hapiman commented 7 years ago

2017-04-19T12:59:44.849Z 类似这种时间,T没有实际意义,Z代表是UTC时间

hapiman commented 7 years ago

参考文档http://blog.csdn.net/woxueliuyun/article/details/45555909

image