Platform

Time convention

22 views 0

To support different time zones, an approach based on ISO8601 is implemented.

1. Storage – all data in the storage (database) will be saved using UTC – that means:

  • Device will send the data directly in UTC
  • Or “2004-10-19 10:23:54+02” And the storage will convert and store UTC (i.e. YYYY-MM-DD HH:MM:SS+OFFSET)

2. Retrieve – when data are retrieved (GET)

  • if on the Web Service header is set up the time zone offset then all data are returned for specified time zone
  • if no header is present then all data are returned on UTC

Was this helpful?

By continuing to use the site, you agree to the use of cookies. More information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close