# date - Liquid Filter Reference

Source: https://support.storeconnect.com/articles/date-filter-reference · Last modified 21 August 2026

## Description

Converts a timestamp into another date format. The format for this syntax is the same as [strftime](http://strftime.net/){:target='_blank'}. The input uses the same format as Ruby’s [Time.parse](https://ruby-doc.org/stdlib/libdoc/time/rdoc/Time.html#method-c-parse){:target='_blank'}.

| Property | Value |
|----------|-------|
| **Return Type** | string |
| **Category** | dates |

## Options

| Option | Description |
|--------|-------------|
| `timezone` | Converts the timestamp into the supplied timezone before formatting |

## Examples


```liquid

{{ "2021-07-01" | date: "%a, %b %d, %y" }}
```


**Output:** `Thu, Jul 01, 21`


```liquid

{{ "2021-07-01" | date: "%Y" }}
```


**Output:** `2021`

`date` works on strings if they contain well-formatted dates


```liquid

{{ "March 14, 2016" | date: "%b %d, %y" }}
```


**Output:** `Mar 14, 16`


```liquid

{{ "2021-06-30T13:00:00Z" | date: "%Y-%m-%d %H:%M", timezone: "Australia/Sydney" }}
```


**Output:** `2021-06-30 23:00`

---

## Follow StoreConnect

- [Email Newsletter](https://getstoreconnect.com/c/lp-newsletter)
- [LinkedIn Newsletter](https://www.linkedin.com/build-relation/newsletter-follow?entityUrn=7444956928444862464)
- [YouTube](https://www.youtube.com/channel/UCngKdP2x8l1wcbAKW3tvU8g)
- [LinkedIn](https://www.linkedin.com/company/storeconnect)
- [X / Twitter](https://x.com/storeconnecthq)

## Popular Links

- [Partners](https://getstoreconnect.com/partners)
- [News](https://getstoreconnect.com/articles/news)
- [Events](https://getstoreconnect.com/articles/events)
- [Feature Comparison](https://getstoreconnect.com/how-we-compare)
- [Download a free trial](https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3A00000FMkeKUAT)
- [Book a Demo](https://getstoreconnect.com/contact)

## Documentation

- [Help documentation](https://support.storeconnect.com/help-documentation)
- [AI agents](https://support.storeconnect.com/ai)
- [Videos & tutorials](https://support.storeconnect.com/videos-tutorials)
- [Developer reference](https://support.storeconnect.com/developer-reference)
- [Release notes](https://support.storeconnect.com/release-notes)
- [Troubleshooting](https://support.storeconnect.com/troubleshooting)
- [Trust Center](https://trust.getstoreconnect.com/)
- [Status Page](https://status.storeconnect.com/)

## Contact

- info@getstoreconnect.com
- US +1 415 745 3230
- AUS +61 2 8365 2308

100 S Ashley Dr, Suite 600-2461
Tampa FL 33602-600 USA

Level 22, Sydney Place
180 George Street
Sydney, NSW, 2000, AUS

---

StoreConnect Support — https://support.storeconnect.com/articles/date-filter-reference