AnsweredAssumed Answered

AF Totaliser - midnight in client vs midnight on server

Question asked by andrew_Inwood on Feb 28, 2019
Latest reply on Mar 1, 2019 by andrew_Inwood

Our PI Server is verifiably operating on "Standard Time" (UTC+12 in our case).  We are currently in a period of Daylight Savings, so right now it is ~5:30 PM local time, but only 4:30 PM Standard Time.

 

I have set-up a totaliser using an Asset Framework analysis.

 

IF(DaySec('*')=0)
THEN
TagTot(currentRate,'y','*')
ELSE
TagTot(currentRate,'t','*')

 

The issue I have is that this totaliser is resetting based on Local time, not standard time.  i.e. the DaySec('*') function is evaluating based on Local Time, and the TagTot function is also evaluating on local time.  How can I force the calculation to use Server time?

Outcomes