Sat, 16 Jun 2018 03:55:53 + 0000
Wed, 20 Jun 2018 15:16:17 + 0800
is there any difference between the above two times?
could you tell me which is Beijing time
Sat, 16 Jun 2018 03:55:53 + 0000
Wed, 20 Jun 2018 15:16:17 + 0800
is there any difference between the above two times?
could you tell me which is Beijing time
above is UTC time, or GMT time, and below is Beijing time. Obviously, East eighth District is UTC+8 hour, so there will be + 0800
in the end.start = +new Date() now = +new Date() time = moment(now - start) console.log(time.format( D H mm ss )) output is: 1 8 00 00 refer to the momentjs file as: http: apps.bdimg.com libs mo. what s going on? I hope to correctly compare the differenc...