title: Store date/time of last received REST call in NodeJs
body: <p>I'm have written an REST API in NodeJs <a href="https://github.com/imrefazekas/connect-rest" rel="nofollow">Connect-rest</a> and I was wondering how to go about storing the date and time the last call was made. </p>
  
  <h2>Here is the GET url call</h2>
  
  <p><code>http://localhost:8080/api/books/metadata?id=12</code></p>
  
  <h2>Code snipped that filters this id</h2>
  
  <pre><code>module.exports.getItem = function(callback, id) {
  
      var searchLetter = new RegExp(id, 'i');
  
      //would like to record date/time the last time this call was made to this ID/row
      //return the date/time back in the callback method 
      var row = items.filter(function(itemList) { 
          return searchLetter.test(itemList.asname);
      });
  
      return callback(null, {items: row, matches: row.length}, {headers: {'Content-type': 'application/json'}});
  };
  </code></pre>