storing timestamp as mongo date