twig: Simple format date and time

Task: Display formatted time from http://worldtimeapi.org/api/timezone/Europe/Berlin.
If you want to set the language (e. g. name of weekdays and month) and the timezone: see here
See how this works:
  1. Template:
    currentDateTime: {{datetime }}
    formatted currentDateTime: {{datetime| date("d.m.Y H:i") }}
    Remember ID of this Template, e.g. TEMPLATE_ID
  2. Shortcode:
    [jsoncontentimporterpro url=http://worldtimeapi.org/api/timezone/Europe/Berlin id=TEMPLATE_ID]
    

In Action:
currentDateTime:2021-10-26T14:08:04.569393+02:00
formatted currentDateTime:26.10.2021 12:08