This is driving me a bit batty. I load the data into Mongo using the C++ driver and I epochs in my timestamp field. Mongo stores it as UTC.
Now, when I go to query it with pymongo, I pass in a start and end time using datetime objects and do a simple time range query. Now, this is the tricky part, do I need to convert my Datetime objects based on UTC, or does the Mongo driver take care of that if it sees no UTC specified in the Datetime object.
What is the right way to do time range queries in Mongo and python, epochs are just much easier to deal with than this.