mongodb中Timestamp类型转成ISODate

var timestamp = Timestamp(1560506685, 958);//存储的时间戳格式 print( new Date( timestamp.t*1000+timestamp.i))//转换成日期类型
相关文章
相关标签/搜索