timestamp(A,B) 8字节的时间戳,由4字节unix timestamp + 4字节自增计数表示 Mongodb中用 timestamp.getTime()返回的是秒数 得到准确时间,可以使用new Date(A*1000) 直接使用Date()返回当前时间的字符串