In DB I have table (User), which store timezone (as a string value, for ex.: "Europe/Oslo") for that user.
Now, I need to get all Users, where local time now is for ex.: 9AM.
Is there any good way of doing this, w/o making loop over all Users? If pytz is able to return list of timezones, where for now time is 9AM, I can use simple IN SQL statement.
1 Answer