Hi @ywiyogo
So essentially the MongoShell itself is a custom driver and it wraps a Date object with the ISODate for convenience (see this page for more details). In terms of query in Python for date/times, you should use datetime, the representations between the two mechanisms to query the data means it’s not possible to easily find consistency and instead you should use the appropriate date representation for the MongoShell or for the Python Driver.
Hopefully, this helps to clarify your question, and good luck with what you are building!
Kindest regards,
Eoin