I would like to do this from the mongo shell. Basically I want to change the way times are stored in my current database.
Right now my 'time' field is storing a string that looks like 'Thu Oct 11 2012 15:27:58 GMT-0500 (CDT)', but I would like to run a Date.parse('Thu Oct 11 2012 15:27:58 GMT-0500 (CDT)') so that the unix timestamp is stored instead.
I want to do this across the board for all current entries since I will just be using the unix timestamp in the future.
Thanks