Ask a Question
Advertise on boostr.in
Organizational Research By
Surprising Reserch Topic
Experts Most Trusted Topic
how to do query with timezone settings in mongodb
how to do query with timezone settings in mongodb ¬†using -'mongodb,timezone'
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?
Sep 21, 2015
to add a comment.
Related Hot Questions
Walkin Jobs Opening
Government Jobs Opening