How do I get the timestamp from the MongoDB id?
From the official documentation:
ObjectId('mongodbIdGoesHere').getTimestamp();