title: what is the best way to use datetime in mongoDB
body: <p>I am parsing nginx log and I want to store date and time from my logs to mongodb..I am storing date as string(in this format yyyy-mm-dd) in my database and my programming language is perl.What is the best effective way to store date..should I use perl datetime module to format date like this ""date" : "Sun Feb 13 2011 05:30:00 GMT+0530 (IST)""</p>
  
  <p>I really want to understand what is the best way to store date in mongodb.Please guide me </p>