VaunMcCarthy | 2020-07-21 23:17:10 UTC | #1
When using the callbacks API to create and schedule a callback, I"m having problems understanding how to format the time. It says to put this into ISO 8601 format which I have done, but it still seems to schedule it for UTC/GMT time. So I add +1200 to the format and that correctly puts it in our local time. The problem is that with daylight savings that offset changes.
What is the correct format for the time in there? Should it be ISO 8601 in the local time, or GMT/UTC with an offset? Then how do you handle daylight savings?
The countryCode option doesn't seem to have any effect on this.
tim.smith | 2020-07-22 15:29:02 UTC | #2
The best practice is to use UTC to communicate timestamps as DST doesn't apply to UTC. This allows you to determine the correct absolute time and communicate it without any ambiguity. If you choose to use a timezone designation, DST will be processed according to the DST rules for the specified timezone.
If you believe that your callbacks are being scheduled differently than the timestamp you're providing, please open a case with Genesys Cloud Care to investigate.
system | 2020-08-22 15:29:06 UTC | #3
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: 8356