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:2022-01-27T18:46:25.538539+01:00
formatted currentDateTime:27.01.2022 17:46