php - Timestamp vs Date -time in Mongo -


i have option of storing date in mongo iso oject or timestamp in mongo.

which 1 more advisable , beneficial use , why??

timestamp data type not use end user ( http://php.net/manual/en/class.mongotimestamp.php ), means if store timestamp have no special abilities date manipulation int.

the "special" abilities can confined map reduce , aggregation framework whereby valid date object (in aggregation framework) reliable way time comparison.

so though can store timestamp int, , smaller isodate() recommend not to.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -