E r g e b n i s / R e s u l t
Give 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.
GETZONE returns one of these offsets. The developer can record this
value before changing it.
S y n t a x
Code:
value = call('GETZONE' , timezone) 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
R e t u r n s
An integer containing a timezone offset.
B e i s p i e l / E x a m p l e
Code:
attach 'TIME'
put call ('GETZONE' , 1) ! prints the offset of the first timezone
put call ('GETZONE' , 2) ! prints the second timezone offset
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
SETZONE