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
andupdated
fields?
Thanks!
Matt