today - Liquid Filter Reference
On this page
Description
Returns a datestamp for the current date for the given timezone
| Property | Value |
|---|---|
| Return Type | string |
| Category | dates |
Examples
```liquid
{{ “Australia/Sydney” | today }} ```
Output: 2021-07-01
```liquid
{{ “Unknown/Timezone” | today }} ```
Output: Invalid Timezone: Unknown/Timezone
Was this article helpful?
Thanks for your feedback! It helps us improve our docs.