| Name | Type | Description |
| is_valid | Boolean | True if the value is a valid timezone string |
| value | String | timezone string |
| default_value | String | The default value for this field if no value is specified |
| field_id | String | The identifier for this field |
| label | String | The label for this field |
| output | String | timezone string. May include additional markup in the editor preview to make it easier to edit content |
Stores the timezone that should be used when displaying a date and/or time.
Sets the default timezone to use when rendering dates and times on the page that do not already have a separate timezone configured.
Some dates and times do not use the default timezone and will not be affected by this method.
Set Timezone by String
CopySet Timezone with string manipulation
CopyConverts a date to the specified timezone.
to_timezone: String timezone
Use the to_timezone filter to convert a date to a specific timezone.
Using the to_timezone filter
CopyReturns the timezone that the date is in. If full is true or if an abbreviated timezone name is not available, returns the full timezone identifier (eg: "Europe/Rome"). If full is false (default) or not specified and an abbreviated timezone name is available returns the abbreviated timezone name (eg: "PST" or "PDT").
timezone: Boolean full
Use the timezone filter to output the timezone used by a date object. The output may either be the full timezone identifier or the shortened timezone abbreviation.
Using the timezone filter
CopySet Timezone with string manipulation
CopyTo timezone filter
CopyTo timezone filter with formatting
CopyUse the to_timezone filter to convert a date to a specific timezone.
Using the to_timezone filter
CopyUse the timezone filter to output the timezone used by a date object. The output may either be the full timezone identifier or the shortened timezone abbreviation.
Using the timezone filter
CopySet Timezone by String
CopyUse the add_seconds, add_minutes, add_hours, add_days, add_weeks, add_months, and add_years filters to manipulate dates.
Use math to manipulate dates
Copyadd_seconds
add_minutes
add_hours
add_days
add_weeks
add_months
add_years
You can use the date filter either to create a date object or to format a date as a string.
Many ways to use the date filter
Copycreate a date object
Defaults to the current date
format a date as a string