Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

timeformat in message template

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? 

 

0 6 1,327
6 REPLIES 6