Legacy Dev Forum Posts

 View Only

Sign Up

Convert UTC Time to local timezone in DataAction

  • 1.  Convert UTC Time to local timezone in DataAction

    Posted 06-05-2025 18:44

    Artur_Dishunts | 2023-08-23 19:32:54 UTC | #1

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


    Jason_Mathison | 2023-08-23 20:35:35 UTC | #2

    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


    Artur_Dishunts | 2023-08-24 03:53:05 UTC | #3

    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.


    system | 2023-09-24 03:53:59 UTC | #4

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


    This post was migrated from the old Developer Forum.

    ref: 21675