get_utc_offset
Description:
Calculates the UTC offset of a given local time in the given timezone.
It is the number of seconds to add to UTC to get local time. The is_daylight flag is set to 1 if the time is in daylight-savings time.
Parameters:
this |
The given Timezone |
tt |
The local time |
is_daylight |
Whether it is day light |
Returns:
UTC offset of the this |