[CSHARP-3091] Improve $add date support Created: 05/May/20  Updated: 17/Oct/22  Resolved: 17/Oct/22

Status: Closed
Project: C# Driver
Component/s: Linq
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Major - P3
Reporter: David Craveiro Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates CSHARP-3343 Expressions for datetime durations Closed

 Description   

I'm using an aggregate pipeline through IQueryable interface and I need to add some milliseconds to a date field before perform a group operation by date.

It would be very helpful if we could add milliseconds to a date using IQueryable interface.

Examples: DateTime.AddMilliseconds(-60) or DateTime.AddMilliseconds(60).



 Comments   
Comment by Robert Stam [ 17/Oct/22 ]

Already implemented as part of CSHARP-3343.

Generated at Wed Feb 07 21:44:20 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.