Implemented bson.date conversion