mongolite
mongolite copied to clipboard
Query dates before 1970 returns ".000Z"
The date is correctly inserted into mongoDB, where I can verify using the MongoDB Compass. Its: 1965-02-19 23:00:00.000 (date Format)
When I query the document which contains the date, the date comes as ".000Z". After looking in the internet and doing some tests, I found out the reason is because the dates are before 1970. Over 1970 it works perfectly.
There is any solution for this problem? I really need to query dates before 1970 which are in my database. Thank you very much for attention!