Time.changeTimezone

void changeTimezone(glong ntz)

Changes time's timezone (for example to convert from GMT to another time zone). If time's current timezone is unset (i.e. equal to [gda.types.TIMEZONE_INVALID]), then this function simply sets time'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

ntza new timezone to use, in seconds added to GMT