How to adjust the timestamp as per requirement

45 Views Asked by At

I am trying to generate the timestamp as per the requirement

The required format is : yyyy:mm:ddThh:mm:ssGMT+1:00

I am able to generate the Date and time format but unable to figure out how to bring out GMT+1:00 this format is required to send it to third party service.

Thanks in Advance

1

There are 1 best solutions below

0
Skin On BEST ANSWER

At the end of the day, it's just a string so all you need to do is throw the GMT+1:00 on the end.

Flow

Obviously, you need to get the correct date and time for your timezone but I've just thrown this expression in as a prefix for testing purposes ...

formatDateTime(utcNow(), 'yyyy:mm:ddThh:mm:ss')

Result

Result