/
2025 date: {{ cur_day }}{{ now }}2025 {% now 'Y' %} {% now 'Y' as cur_year %} Copyright My Company, 2025 Copyright My Company, {{ cur_date }} {{ timestamp|datefmt('long') }} {{ now }} {{ current_date }} {% set a = 1577865600 | from_timestamp %} {{ a }} Output: 2020-01-01 08:00:00+00:00 {{ a.year }} {{ a.month }} {{ a.day }} Output: 2020 1 1 {{ a.hour }} {{ a.minute }} {{ a.second }} Output: 8 0 0 date {{ a.date() }} time {{ a.time() }} Output: date 2020-01-01 time 08:00:00 {# 0 is Monday, 2 is Wednessday, 6 is Sunday #} {{ a.weekday() }} Output: 2 {# You can also overwrite the year/month/day/hour/minute/second #} {% set b = a.replace(day=2, hour=16) %} {{ b }} Output: 2020-01-02 16:00:00+00:00 {{ b.timestamp() }} 1577980800.0
SEE MORE

Headline

SEE MORE

Headline

SEE MORE

Headline

SEE MORE

Headline