On Mon, 10 Mar 2008 14:23:40 -0300, Shmuel Metz (Seymour J.) wrote: > >As long as TZ is set properly, an OS/2 or Unix system will automatically >switch to and from DST. > There's a paradigm shift required here. The core UNIX function, localtime() does not "automatically switch to and from DST." Rather, if localtime() is called with the same argument and with the environment variables having the same values, it will produce identical correct results whether Daylight Saving or Standard time is in effect.
I believe this is in contrast to the z/OS STCKCONV service. however, I can not find in the docmentation ("z/OS V1R7.0 MVS Assembler Services Reference IAR-XCT") whether STCKCONV returns local time or GMT nor how Daylight Saving and Leap Seconds are handled (possibly in accord with the table in the PoOP?) The programmer ought to be given the choice of either. Perhaps I'll submit an RCF. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html