Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 260 Bytes

filter_utc.rst

File metadata and controls

12 lines (7 loc) · 260 Bytes

Translates a datetime from local time to UTC.

For example:

{{ id.modified|utc|date:"Ymd:His\\Z" }}

Displays the modification date and time of a resource in Universal Time.

.. seealso:: :ref:`filter-date`