Modifying Date Time Format

Do you have an example date1 and date2 and how the result should look like in the end?

The clock component already offers several methods… no need for an extension… see the guide

Taifun