During calls to the API you may notice the 'Date/Timestamp' headers in the "request" to the API, do not match the 'Date/Timestamp' in the "response."
This is because the API runs off UTC/GMT time and these headers will always display in GMT time.
If a developer is using the 'Date' in the headers to track API calls or reference when a transaction was created from the API response, they would need to add 10hrs as UTC/GMT+10 is Australian Eastern Standard Time (AEST).
My date header in insomnia shows:
1Mon, 16 Jan 2023 20:24:52 GMT
So therefore I know that the API call was made at
1Tues, 17 Jan 2023 09:34:52
I added 13hrs to get the correct time for NZ (13 due to daylight savings otherwise it would be 12).
The dates in the "headers' are not editable and are read-only, if they are affecting dates in the BODY of a call then we would want to investigate further and would encourage you to create a support ticket.
Article is closed for comments.