-
Type: Bug
-
Resolution: Won't Do
-
Priority: Minor - P4
-
Affects Version/s: None
-
Labels:
-
Environment:
*Location*: https://docs.mongodb.com/manual/tutorial/model-time-data/
*User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.84 Safari/537.36
*Referrer*: https://www.google.com/url?q=https%3A%2F%2Fdocs.mongodb.com%2Fmanual%2Ftutorial%2Fmodel-time-data%2F&sa=D&sntz=1&usg=AFQjCNFOhai10x51kcCypL_JcMZqq131aQ
*Screen Resolution*: 1440 x 900
*Location*: https://docs.mongodb.com/manual/tutorial/model-time-data/ *User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.84 Safari/537.36 *Referrer*: https://www.google.com/url?q=https%3A%2F%2Fdocs.mongodb.com%2Fmanual%2Ftutorial%2Fmodel-time-data%2F&sa=D&sntz=1&usg=AFQjCNFOhai10x51kcCypL_JcMZqq131aQ *Screen Resolution*: 1440 x 900
The "Model Time Data" page should include some guidance around the fact that as of (I believe 2.4) you can modify date fields in the aggregation pipeline using, for example, $add (for milliseconds): as described here:
https://docs.mongodb.com/manual/reference/operator/aggregation/add/#exp._S_add
This is important to explain when discussing first principles around dates in MongoDB