Different Time value displayed

Hi - I am just curious about the current time value retrieved/displayed by the platform. It would seem that there is a discrepancy? The bot timestamp is different (see screenshot below). When I invoked new Date(), what the system gets is the value from lastUserMessageTime (05:22). What I want is the bot timestamp (1:22 PM). I tried using local format ‘en-US’ but the value is still 05:22. Can you assist?

Thanks,
SheelaD.

@sheela.dimayuga
The 2022-07-20T05:22:35.459Z in the JSON is for GMT.
If you google a bit you will see that Z is for Zero timezone. GMT/UTC.
image
All the logs and timestamps on Kore servers are maintained as GMT.
In the UI, when we show it to you, we use the browser’s locale to convert the time. I hope this screenshot makes it clear to you.


If you are trying to change this time programmatically, please try this https://developer.kore.ai/docs/bots/advanced-topics/koreutil-libraries/#koreUtilmomenttz