I have the following code in 2 places:
dateAdded = system.date.format(system.date.now(), "yyyy-MM-dd HH:mm:ss")
The first place is a powertable on the ‘onCellEdited’ function. This returns a date 2 hours from now. I also have the code in the project library running under a custom definition. This returns the proper time identical to the client computer.
(I also see in the Ignition Gateway (running in timezone C) that the gateway thinks it’s in a timezone 2 hours behind current local time.)
What gives? How do I sync all my timers?