I believe you'll have to set it manually because the value of $HOROLOG refers to the machine running the IRIS instance. You'll need to set the $ZTIMEZONE to your local time zone.
I think this documentation can help, TimeZone
Command:
$ZDATETIME($HOROLOG,8,5)
Output:
20240425T15:29:09-03:00
The -03:00 is because I'm in Brazil, daylight saving time is automatic
If you want to know if the time is in daylight saving time or not, you can use the
$SYSTEM.Util.IsDST(TimeStap)
.
I saw the #Ensemble tag, so I thought you were using a Business Operation. Another thing I noticed is that you are not setting the server port that will be called.