No, it is printing the time in the gateway timezone, but the underlying java object is timezoneless.
I recommend you read this topic about datetime objects in Ignition in general:
Then consider that PostgreSQL uses the same technique for its timestamp with time zone
datatype (aka timestamptz
), except that the underlying storage format is UTC microseconds instead of milliseconds (and a non-epoch zero point).
So, timestamptz
in PostgreSQL is fundamentally timezoneless, and is only shown with a timezone when converted to a string in an execution context that has a time zone. Same when parsing a string into a timestamp--uses the execution context's timezone, then stores/computes with the UTC microseconds.