JavaScript从Mongo的id获得时间戳

From , 5 Years ago, written in JavaScript, viewed 228 times.
URL https://pastebin.vip/view/d0997de7
  1. var timestamp = _id.toString().substring( 0, 8 );
  2. var date = new Date( parseInt( timestamp, 16 ) * 1000 );

Reply to "JavaScript从Mongo的id获得时间戳"

Here you can reply to the paste above

captcha

https://burned.cc - Burn After Reading Website