HOROLOG is not reflecting correct time
Hi
when using $zt($P($H,",",2)) from terminal it gives the correct local server time but when using it in my cache code it gives an incorrect time (5 hrs difference)
.png)
but from the code it gives 13:14:54 !?
.png)
Thanks
Comments
This feels like a timezone/locale issue - is the difference between your time zone and UTC also 5 hours apart?
Its 4 hrs difference but I'm wondering why running it from the terminal gives different result to running from Studio !?
The key difference between the two scenarios is that you're running the application for the instances where you are getting the correct time.
Have you checked the server timezone settings for the user running Ensemble in your environment?
I guess script getting wrong time has a set $ztimezone=5 or -5 somewhere, this will change $horolog only for this process