12/22/2024 10:46 AM | |
Joined: 3/10/2020 Last visit: 7/10/2025 Posts: 31 Rating:
|
Hi, searching on the internet and on the forum, I have not found a solution. I used the NTP function on the PLC to synchronize the date and time (UTC). I would like to select the use of DST (Daylight Saving Time) from runtime (same function present on HMI comfort as "SetDaylightSavingTime"). I would also like to set the timezone from runtime. value = 0..114 [list of timezones attached]
Attachment23.12. Timezones List.txt (124 Downloads) |
Last edited by: Moderator_Lan at: 12/23/2024 09:28:19Code attached |
|
12/23/2024 11:59 AM | |
Joined: 1/21/2013 Last visit: 8/29/2025 Posts: 4087 Rating:
|
Hi ValentiniAlessandro, It is not possible to switch daylight saving time on or off on a WinCC Unified Panel. The reason for this is that the configuration - as on other Linux systems - is based on the time zone selection. Unfortunately, neither the currently available system functions nor the possibilities of JavaScript allow you to change the system time zone setting of WinCC Unified Panels. Perhaps displaying the Date and Time page from the Control Panel using the ShowControlPanel system function will get you closer to your goal. Kind regards |
This contribution was helpful to
2 thankful Users |
Follow us on