Hello,
Developing an application using CODESYS v3.5 SP17 Patch 2. Visualisation Profile 4.1.0.0
I have set the local timezone using DTU.SetTimeZoneInformation
I have verified this using DTU.GetTimeZoneInformation
I have set the time using DTU.SetDateAndTime
I am displaying the time using DTU.GetDateAndTime
I have checked the clocks change when I expect them to by changing the set time, however the alarm timestamps do not match the time I get from DTU.GetDateAndTime. There is a 1 hour offset.
Does anyone know why this is? Is there a different function I need to use to adjust the Alarm Manager time?
Last edit: staylor 2022-05-27
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
Developing an application using CODESYS v3.5 SP17 Patch 2. Visualisation Profile 4.1.0.0
I have set the local timezone using DTU.SetTimeZoneInformation
I have verified this using DTU.GetTimeZoneInformation
I have set the time using DTU.SetDateAndTime
I am displaying the time using DTU.GetDateAndTime
I have checked the clocks change when I expect them to by changing the set time, however the alarm timestamps do not match the time I get from DTU.GetDateAndTime. There is a 1 hour offset.
Does anyone know why this is? Is there a different function I need to use to adjust the Alarm Manager time?
Last edit: staylor 2022-05-27