utc

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.

Edit on GitHub

timesince Dates

Referred by

Filters

Filters transform template variables before they are rendered.