How to set DateTime control's Display value to a specific timezone?

The feature appears to be designed to allow only specific offsets to UTC, but that breaks when the time changes twice a year.

My data is UTC, and I want dates to be displayed in 'America/New_York' timezone.

Is there a workaround?

Oh. I think the solution is simply to set the Display property to America/New_York without quotes.

2 Likes

This solution did not work for me. It shows a drop down box that says "No Data" and shows nothing in the field. Sorry!
The example in the docs shows how to use the TZ() function in momentjs to get this to work:

Enter {{ moment(self.value).tz('LOCAL_TIME_ZONE_NAME').format('Z') }}, where LOCAL_TIME_ZONE_NAME is the local time zone name, defined in the Moment library.