Hello Users,
I am using http Get request to get data from Talent entity. The entity of "Talent" has a field Named "Employement End Date". The problem I am facing right now is, I am getting different date time in my odata output,
Please see the screenshot below.
Talent Front End Time:
The date I am getting from odata get requestEmploymentEndDate":"2020-02-10T01:00:00Z
I am getting EmploymentEndDate":"2020-02-10T01:00:00Z which is different from talent Front end Date and Time.
There is a Timezone difference. If there is any way I can get Odata output without any timezone effect and will get the same time as present in Talent Front End. Or If there is any odata function which convert the time zone back to its original time as in Talent.
I am looking forward for a quick response.
Thanks
Best Regards
Hunain Sami
Hi @edgonzales Thanks for your response,
The challenge is that, I dont want to use Flow action to convert the timezone back to its origibal state, I want to get the timezone converted back to its original position within the Odata url call, so if there is any way that the timezone never effected in Odata call. If I use converttimezone action this process will get into loop for all employees and will take too long time to execute.
Regards
Hunain
@Anonymous
Hi there. So, the date in your get request is actually the original format. All dates are stored in UTC/GMT and then altered on the front end as you've illustrated. The "Z" at the end of your backend data indicates "Zulu" or "UTC" timezone.
You can use either a step "Convert Timezone" or the function convertTimeZone() to change the presentation of the backend data to your local zone. Here is a link to the Date Time functions.
Hope that helps, keep us posted.
-Ed-
If you liked this reply, please give it a thumbs up! If this reply has answered your question or resolved your challenge, please consider marking it as a Solution. This helps other users find it more easily via search.