@date - Date Formatting
Syntax
@date(format, timestamp)Example
@set(currentTime, 1711825200) // Example Unix timestamp
<p>@date('Y-m-d', currentTime)</p>
<p>@date('d/m/Y H:i:s')</p>Output
<p>2024-03-30</p>
<p>30/03/2024 14:00:00</p>Notes
Last updated