Version: v0.7.1 - Beta.  We welcome contributors & feedback.

Date.getTimezone

$date.getTimezone() -> string

Description

Get the name of the current timezone for the Date object.

$date = Date.now()

$date.getTimezone()
//= 'America/Los_Angeles'

See Also