[SERVER-6666] $millisecond operator to aggregation Created: 31/Jul/12  Updated: 19/Mar/13  Resolved: 18/Dec/12

Status: Closed
Project: Core Server
Component/s: Aggregation Framework
Affects Version/s: None
Fix Version/s: 2.3.2

Type: New Feature Priority: Major - P3
Reporter: Mathias Stearn Assignee: Stephen Lee
Resolution: Done Votes: 1
Labels: open_pull_request
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by DOCS-1013 Add $milliseconds operator to agg fw ... Closed
Related
Participants:

 Description   

No current way to get milliseconds.

The $millisecond operator should behave like the $second operator. In a $project pipeline operation, if $millisecond is used on a document's field containing an ISODate, return the milliseconds portion of the given point in time.



 Comments   
Comment by auto [ 18/Dec/12 ]

Author:

{u'date': u'2012-11-28T19:36:29Z', u'email': u'stephen.lee@10gen.com', u'name': u'Stephen Lee'}

Message: SERVER-6666: Added $millisecond operator to Aggregation Framework
Branch: master
https://github.com/mongodb/mongo/commit/1057208cf350f9e9da05a3b79f392edfae0c0338

Comment by Tad Marshall [ 03/Dec/12 ]

You didn't set any reviewers ... did you mean to?

Comment by auto [ 02/Aug/12 ]

Author:

{u'date': u'2012-07-31T12:56:59-07:00', u'email': u'mathias@10gen.com', u'name': u'Mathias Stearn'}

Message: SERVER-6189 Support Dates before 1970 in aggregation

This required moving away from Date_t as it asserts on dates before 1970
Some tests are disabled due to SERVER-6666 and SERVER-6679
Branch: master
https://github.com/mongodb/mongo/commit/07e2bbe7293ec7fda7858f141da218477c255f1e

Generated at Thu Feb 08 03:12:21 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.