I am using a mongo 3.6 db. The collection I am querying with stores a date as epoch date. in mongo 4.x there is a date$ function which can convert it. Can this be done in 3.6 and if so anyone have a example ?
Hello @James_Shreckengost, welcome to the community.
There are Aggregation Date Operators to work with dates from other formats. You can use them in your find
and aggregate
queries.
Here is a recent post with related info:
That doesn’t really answer the question
Have a look at this?