S22_Imap issue with the email date retrieved


I'm trying to retreive mails from the gmail server using the GetMessage action, but the date retrieved for each email is different from the original date in the server. Is it a bug or should I write any specific logic to achieve it..

Hi Samuel,

The date returned appears to be in UTC*. You need to convert it to the local timezone if that's the date/time you want to show. There's a Time Zone component in the Forge that could aid you with this.

*I'm not sure whether this is always the case for IMAP, but Google is probably your friend here...

Another remark: questions about a specific component can best be asked in the component's subforum, instead of in one of the general forums.