I'm trying to transfer my application database from Mysql to Mongodb, but I met a problem with datetime queries.
In Mysql, when there is a datetime or timestamp column, you can set specific timezone for each request using command:
SET time_zone = timezone;
// do queries here
Is there any kind of similar solutions for this kind of demands?
I know applications can do the job after retrieving data from mongodb, but what about using aggregation with $hour, $month or $day operators?