Formatting of date

Here you see how date from JSON can be formatted by twig.
Example of JSON with dates: https://api.json-content-importer.com/extra/json/date.php

For that create a JCI-Template with:

time: {{time}}<br>
time-formatted: {{ time | date("l d.m.Y") }}<br>
date: {{date}}<br>
date-formatted: {{ date | date("l d.m.Y") }}<br>
otherdate: {{otherdate}}<br>
otherdate-formatted: {{ otherdate | date("l d.m.Y H:i:s") }}<br>

Then add [[jsoncontentimporterpro nameoftemplate="dateformatting"]] to a page:

time: 1696200646
time-formatted: Sunday 01.10.2023
date: 2022-10-06T00:00:00.000+0000
date-formatted: Thursday 06.10.2022
otherdate: Mon, 02 Oct 23 00:50:46 +0200
otherdate-formatted: Sunday 01.10.2023 22:50:46