sections in the article
Question
Why does the DateTime-stamp I receive when calling the REST API not match what I see in my browser?
Answer
Because of so many different users are using inriver in many different countries, the timestamps will be adapted to match with the local time set in the users browser.
At the same time, the users will need a universal standard for the DateTime, so that developers can program extensions without having to worry about always having to adapt the time to where their users are.
Because of this, the time provided through the inriver REST API will always be UTC and stored as such in Inriver's Database (YYYY-MM-DD).
Good to know
- inriver will always show the local time of your browser.
- If the time is not right, check you browsers setting.
Comments
0 comments
Please sign in to leave a comment.