sparky mark
Member
using a 1768-L45
when I use a GSV / class name WallClockTime / attribute LocalDateTime
I get the year / month / day / hour / minute / second as expected except that the hours are always 5 hours advanced. So if it is 10 AM I get 15 for the hours. Seems like I am always getting GMT, and I would like to get local time.
PLC CPU date/time is set correctly and eastern time zone (UTC -05:00)is set. is there a way to get the local hours without doing some math on the hour value.
Thanks in advance for your help.
when I use a GSV / class name WallClockTime / attribute LocalDateTime
I get the year / month / day / hour / minute / second as expected except that the hours are always 5 hours advanced. So if it is 10 AM I get 15 for the hours. Seems like I am always getting GMT, and I would like to get local time.
PLC CPU date/time is set correctly and eastern time zone (UTC -05:00)is set. is there a way to get the local hours without doing some math on the hour value.
Thanks in advance for your help.