Say I have a collection with objects like this, where the ts property contains an Unix Timestamp.
{
"_id" : ObjectId("50ef1e0f1e816a74ad835a5a"),
"ts" : 1357851660
}
Is there a way to convert the ts field to an ISODate using the Aggregation Framework, so I can use the date operators ($dayOfYear, $dayOfMonth, ...)?