KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
What's the best way to store timestamps in MongoDB? Which format is best: # "created": { "d" : "2010-03-29", "t" : "20:15:34" } # "created": "12343545234" # seconds since epoc # "created": "2010-03-14T21:20:14+0000" Is there a way to have MongoDB automatically set created and updated fields?
Tags (comma-separated)
Save Edits
Cancel