Installing pytz library

Then you cannot rely on Ignition to automatically handle this for you. You should still always record and transfer timestamps in UTC.

Provide your users with some timezone session custom property, or pass the appropriate timezone id's as part of your machine information, but keep track of what timezone you need at any point in your GUI. Then use the techniques in this post to display timestamps in any desired timezone (instead of session.props.timezoneId):

1 Like