I added some code to get our PLCs roughly on the same time as our Ignition Gateway, and I noticed that depending on which path we used, we get times that are slightly different (4 minutes off).
Here is one method I used that gave me a later time in a numeric label:
dateextract({[System]Gateway/CurrentDateTime}, “hour”)
The earlier time showed up when I used this for the default system CurrentTime:
dateFormat(now(),{Root Container.Current Time.format})
The later time also showed up when I used now() for an expression tag:
now(10)
I expect that the “now()” in the 2nd instance is looking at the client workstation, and the other two instances are looking at the Gateway’s clock, but I’m not sure.
Any thoughts here?