Question

API Explorer accepts time in UTC format

  • 15 December 2022
  • 2 replies
  • 121 views

Userlevel 2
Badge +6

In IFS all the APIs that have been exposed with date/time indicate that it accepts the values in UTC. However when the date/time and is converted from a 3rd Party integration software, IFS appears to be storing the converted UTC value as it is in IFS.  

  1. Is there a separate API that reconverts this back to the local time?
  2. If no API for point 1, and if saves the value as it is, what is the impact with the offset value set on the site as its meant to indicate the timezone offset value based on the system time.

2 replies

Userlevel 7
Badge +30

There is no general time zone or UTC support in IFS Cloud yet. UTC support will come, but the different products inside IFS needs to explicitly make use of it, so IFS will not automatically be UTC or time zone aware as a whole.

In many cases, if you save a date or date+time it will be saved without any conversion and in the server’s time zone and you simply need to be aware of it. 

Some parts of IFS uses the site offset, but you need to be aware of when that is used and not used and I don’t think there is another way to find out where it is used than to test. In general, Supply Chain makes use of it a lot, and Manufacturing as well, plus some parts of Maintenance.

 

Userlevel 5
Badge +17

@Dasun Navoda You mentioned that all the date/times are indicated as “UTC”. Can you provide more information on this as I cannot find any such information in the Documentation or Specifications generated from API Explorer.

Reply