Updated: 2025-09-12
The today() function inserts the system date for the computer where the file is open. This can be used in conjunction with the format() function to control the output of the date.
For example, if today is September 12, 2025, you would see the following results.
Code | Result |
---|---|
{{ today() }} |
2025-09-12 12:00:00 AM |
{{ format(today()) }} |
September 12, 2025 |
{{ format(today(),"2003-01-02") }} |
2025-09-12 |