moment.tz.setDefault('Pacific/Saipan')
// console.log(moment(), moment().format())
console.log(moment('2020-01-03 01:20:27').valueOf(), new Date('2020-01-03 01:20:27').getTime())
console.log(moment(1578035100000))
// .days(
console.log(moment().utcOffset())
// 如何用moment实现期望时间与当前时间之间的天数?
var end = new Date('2019-12-31 23:59:59').getTime()
var start = new Date('2019-08-20 00:00:00').getTime()
var days = moment(end).diff(start, 'days')
console.log(days)