Convert UTC Time to local timezone in DataAction

Is there anyway to convert UTC time to local time using response config?
{
"translationMap": {
"createdDate": "$[].[].createdDate"
},
"translationMapDefaults": {
"createdDate": "null"
},
"successTemplate": ""createdDate": ${createdDate}"
}

Hi Artur_Dishunts,

There is an idea you can vote on to add support for this:
https://genesyscloud.ideas.aha.io/ideas/OP-I-337

If this data action is being used inside of an architect flow, you would have access to date/time tools there that you could use to do timezone adjustments.

--Jason

1 Like

Thanks for the quick response. The data will be used in the script, so I guess I will need to do some math and string manipulations.

1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.