0.0.5 • Published 8 years ago

date-from-object-id v0.0.5

Weekly downloads
13
License
MIT
Repository
github
Last release
8 years ago

Date from ObjectId

var o2d = require('date-from-object-id');

o2d('5750268e0ddf67495e000007');
// Date('2016-06-02T12:29:02.000Z')

o2d(mongodb.ObjectId('5750268e0ddf67495e000007'));
// Date('2016-06-02T12:29:02.000Z')
npm i -g date-from-object-id

$ date-from-object-id 574567db0ddf673759000024
2016-05-25T08:52:43.000Z
0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago