ReQL command: timezone

Command syntax

time.timezone() → string

Description

Return the timezone of the time object.

Example: Return all the users in the “-07:00” timezone.

r.table("users").filter( function(user) {
    return user("subscriptionDate").timezone().eq("-07:00")
})

© RethinkDB contributors
Licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License.
https://rethinkdb.com/api/javascript/timezone/