5/16/2023 8:13 AM | |
Joined: 1/21/2013 Last visit: 9/16/2024 Posts: 3099 Rating: (484)
|
Hi Figuren, What does your script look like? You should be aware that the Date() constructor returns a UTC based timestamp. To return a time value based on a different timezone, use toLocaleString(). In this case, you can specify a timezone in the options parameter. If no timezone is used in the options, the panel timezone is used. Kind regards |
5/16/2023 10:48 AM | |
Joined: 10/6/2022 Last visit: 9/10/2024 Posts: 49 Rating: (1) |
I have also tried
But this does not seem to work. It works in a simulated environment but not in a physical panel. How does the panel obtain its local time? In my panel I have set the timezone and the panel shows the right time in this menu. This menu is located outside of the runtime, just as you start up the panel. But I cannot figure out how to put this time into my runtime. |
Follow us on