title: How can I easily access the MongoDB ObjectId date from within a templating engine?
body: <p>At the moment using JavaScript I'm attaching a date to every single object similar to the following.</p>
  
  <pre><code>post.date = getTimestamp(post._id).toDateString();
  </code></pre>
  
  <p>I can then access 'date' from within my template.  Is there a nicer way to extract the date?</p>