| layout | api-command | ||||||
|---|---|---|---|---|---|---|---|
| language | JavaScript | ||||||
| permalink | api/javascript/timezone/ | ||||||
| command | timezone | ||||||
| io |
|
||||||
| related_commands |
|
{% apibody %} time.timezone() → string {% endapibody %}
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")
})