E r g e b n i s / R e s u l t
Set the offset of one of the time zones
B e s c h r e i b u n g / D e s c r i p t i o n
When <desk:F8> is displayed, three time zones are shown, complete with
their titles. Two of the time zones are offset from the current time
by an integer amount.
SETZONE can change the offset of one of these timezones.
S y n t a x
Code:
bool = call('SETZONE' , timezone , offset) P a r a m e t e r
timezone - is a number in the range 1 - 2.
1 = Time Zone 1
2 = Time Zone 2
offset - is an integer value in the range -23 to 23
R e t u r n s
A boolean value.
B e i s p i e l / E x a m p l e
Code:
attach 'TIME'
put call ('SETZONE' , 1 , -1) ! sets the offset of the first timezone
! one hour behind
put call ('SETZONE' , 2 , 1) ! sets the second timezone offset to one
! hour ahead
detach 'TIME' Q u e r v e r w e i s / C r o s s R e f e r e n c e
GETZONE