I\'m trying to change the format of the dates I\'m getting from my Mongo database. Currently they look like this:
Fri Sep 16 2011 19:05:17 GMT+0900 (JST)
what about defining your schema like:
var someSchema = new Schema({ title: String, created: Date });
s.t. the date is stored as a Date object in your mongoDB. As a result, when you read it back you'll have a proper Date object on which you can work with the available methods.
Date