W3cubDocs

/RethinkDB JavaScript

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")
})

Related commands

Get more help

Couldn't find what you were looking for?

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