Timestamp value is in future

Hi there
I’m having issue when I create engagement notes via API call.

Currently I’m using below format to create notes.

"hs_timestamp": "$system.current_dateT$system.current_time.000Z"

where our system’s current date and time is in Malaysia time (GMT +8).

so when I add notes at 10:19am and 10:21am Malaysia time the become 6:19pm Malaysia in the UI.

Please assist on this issue.
Kindly be informed that we can’t use UNIX timeformat and the system already developed with the above format.

Hi, @YVasudevon :waving_hand: Thanks for reaching out and including your limitations. Hey, @piersg, do you have any thoughts on how @YVasudevon might troubleshoot this one?

Best,

Jaycee

Hi @YVasudevon (thanks @Jaycee_Lewis). It’s the “Z” at the end causing the issue. Z is the zone designator for the zero UTC offset, so essentially your time is being converted to GMT+0.

This should work:

"hs_timestamp": "$system.current_dateT$system.current_time.000+08:00"