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{ |user|
    user["subscriptionDate"].timezone().eq("07:00")
}

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