Menu

date(YYYY, MM, DD)

Updated: 2025-09-12

Use the date(YYYY, MM, DD) function to insert a specific date. This can be used in conjunction with the format() function to control the output.

Code Result
{{ date(2026, 01, 02) }} 2026-01-02 12:00:00 AM
{{ format(date(2026, 01, 02)) }} January 2, 2026