[SERVER-6547] $subtract in aggregation framwork with 2 dates should give number of milliseconds between them Created: 21/Jul/12  Updated: 15/Feb/13  Resolved: 14/Dec/12

Status: Closed
Project: Core Server
Component/s: Aggregation Framework
Affects Version/s: 2.2.0-rc0
Fix Version/s: None

Type: New Feature Priority: Major - P3
Reporter: Arseny Tolmachev Assignee: Unassigned
Resolution: Duplicate Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-6239 Better semantics for $add and $subtra... Closed
Participants:

 Description   

This is useful when you want to group your data temporally. Combination of subtract and divide can give any precision you want.



 Comments   
Comment by Mathias Stearn [ 14/Dec/12 ]

Dup of SERVER-6239

Comment by Arseny Tolmachev [ 21/Jul/12 ]

Or just converting dates to milliseconds will work to.

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