Why my system.date.now() script has different time to my gateway time, it should be the same right? any reasons why this happening?
Thanks!
Why my system.date.now() script has different time to my gateway time, it should be the same right? any reasons why this happening?
Thanks!
Where are you running the script? What difference are you seeing?
hi sir, im running it on the script console this is my gateway time
and this is from script console
Wed Apr 03 13:23:54 CDT 2024
It's going to return whatever time it is on the computer running the Designer, regardless of where the Gateway is or what time it is on the Gateway.
hmm thats odd, because im also working on another project and its showing 1 hr behind for the system.date.now() function, running on same computer btw
That could be the timezone settings of the project.
yeah i did that already, tried to change the timezone behavior to gateway timezone, still not changing, am I missing something other settings?
You'll need to re-open the project.
EDIT: The locales and timezones are only read once at the start.
hmm i tried this already, and its still not working