@chi, I was trying to use your piece of code to read the time but can’t seem to understand exactly !
So, When I get the DATE and TIME in millis, at this point of time they are 11235 and 43640750 respectively. Now, from what you have., I understand that you want to shift binary of DATE to left by 32 bits to get the millis of date and then add millis of time into it. However, when I shift 32 bits left, my value is way too big (approx 188,535,312,519). Now, that value goes into the tag change event script and executed with binary. But, what comes out is nowhere close to current time.
Is there any reference to understand the DATETIME and binary conversion ?
Any help is appreciated.