'Date and time formatting in XSLT

I'm struggling to format a value into a DateTime format in XSLT 1.0

My Input XML has two tags as shown below.

<dateamdaddr>
20220426
</dateamdaddr>

<timeamdaddr>
130404
</timeamdaddr>

My output should be something like

Tue, 26 Apr 2022 13:04:04 GMT

Thanks in advance.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source