change_timezone
Description:
Changes this's timezone (for example to convert from GMT to another time zone).
If this's current timezone is unset (i.e. equal to TIMEZONE_INVALID), then this function simply sets this's timezone attribute; Otherwise, it adds or removes hours, minutes or seconds to reflect the time in the new timezone.
Note: the resulting will always be a valid time.
Parameters:
this |
a valid Time |
ntz |
a new timezone to use, in seconds added to GMT |