In the Rexx Reference Manual, Section 7.4.65, under offset it says:
returns the offset of the local time from UTC in microseconds. The offset value will be negative for timezones west of the Prime Meridian and positive for timezones east of Prime Meridian. The local time(’F’) value can be converted to UTC by adding the time(’O’) value.
This is incorrect. The last sentence should read:
The local time('F') value can be converted to UTC by SUBTRACTING the time('O') value.
I am west of GMT, so my time('O') value is returned as a negative number. GMT is ahead of me so I must subtract this negative number to arrive at UTC.
example Local Time = 10:50PST - ( -8:00 Offset) = 18:50 UTC