I have a label with Indirect tag binding to display the Timestamp of a OPC tag which is inside an UDT. The template view is bound to the UDT as a drop target through tagPath. The binding preview and Tag Browser are shwoing the time in local time zone (EST), but the perspective browser session is showing in UTC.
Please note the project setting is configured to use Gateway time
If you want the browser to display the time in the client's timezone then, in Designer → Project → Project Properties → Perspective / General → Project Timezone = Client Timezone.
That might be a problem. Your gateway should be saving everything in UTC, not EST. That may mean that your browser will pick up the same time zone as the server. Check what the timezone setting is on the gateway. (I'm in Ireland so we're on GMT and this isn't much of a problem for us!)
Meanwhile, I have updated the Perspective project settings to use the Client Time zone. But no change in behavior, still the the browser is showing the time in UTC.
I think, "they are surrounded by quotes makes me think these dates are being rendered to string" is a possibility. But the data source is real time OPC tag inside an UDT.
You may need to apply a Datetime format transform in the label configuration. I'm not really sure what the right approach is, maybe someone else knows, or you can call support.
When you do any Perspective date-to-string formatting operations yourself (whether expression binding or jython script), you are responsible for applying the session time zone. This topic shows how:
If you assign a datetime (java.util.Date, not a string, nor a jython datetime) to a Perspective component that knows how to do date formatting on the client side (typically has a dateFormat property somewhere), that component will do this for you.
@pturmel , Thanks for the detailed clarification. I have just configured a DateTime Transformation (no scripting) on the binding. Then the label started displaying the time in local time zone.