I am trying to use a message template to set a header to a date that is in RFC 1123 format, e.g."Tue, 15 Feb 20222 10:01:45 GMT" . I looked at the timeformat function, but the examples on the Apigee doc are pretty simple ones.
I've trying the following (nowInSeconds it is a string representing the number of seconds since epoch).
{timeFormatUTC('EEE, dd MMM yyyy HH:mm:ss zzz',nowInSeconds)}
Any ideas?