Daniel Aguilar · Mar 30, 2022

$ZTIMESTAMP in local time

How do you get a $ZTIMESTAMP in local time?.

I have found this solution and it works:


Set LocalTimestamp=$ZDATETIMEH($ZTIMESTAMP,-3)


Do you use any better way?

0 181
Discussion (5)1
Log in or sign up to continue

Thanks Alexey for your answer but as Jhon says $now doesn't adjunt for Dailyght Save Time and I need it.  wink