Quantcast
Channel: SCN : All Content - SAP Manufacturing
Viewing all articles
Browse latest Browse all 1079

ProductionDateService PAPI confusion on Timestamps/Timezones

$
0
0

Hi,

 

we are currently trying to utilize the ProductionDateService: findProductionShiftsForDate PAPI to fetch the current Shift,

however there is some confusion with the Timestamps we get back as a result.

 

We have a Production Shift configured which starts 06:00 in the morning and ends 16:30 in the afternoon.

System and Site Timezone is set to Los Angeles.

 

Now if we call the PAPI with the Parameter 6:00:00 AM and America/Los_Angeles,

it returns the correct shift, but the Timestamps returned are the following:

 

<ns2:startDateTime>2015-05-29T03:00:00.000-07:00</ns2:startDateTime>

<ns2:endDateTime>2015-05-29T13:30:00.000-07:00</ns2:endDateTime>

 

The Time Offset of -7 between GMT and PDT is correct, however the timestamps are off by 3hours.

 

Could somebody elaborate where this behavior comes from?

For me it looks like a problem when actually storing the Production Shifts.


Viewing all articles
Browse latest Browse all 1079

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>