How do I set timezone in a scripted field?

I use the following code

doc['time_start_ts'].value.hourOfDay

to get hour of day from a time field with date format.

How can I set the timezone in order get the correct value after Daylight Saving Time changes?

Thank you

Hello again

Is it possible to have some answer on this topic?

Thank you