On Wed, 29 Oct 2008 14:19:27 -0500, John McKown wrote: >> >>Is there a z/OS-supplied function to convert GMT to local time (or back >>again)? >> >Yes. Look in the Language Environment manual, > >http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/CEEA3100/CCONTENTS > >watch out for the wrap!! > >CEECBLDY will convert various "character" representations of dates into >"COBOL Integer Date" formats. > >CEEGMTO will tell you the difference between GMT and LOCAL time. > >CEESECS will convert date+time to a timestamp in "Lilian" seconds (since >00:00:00 14 Oct 1582) which you can then manipulate and convert back. > Will these get the Daylight Saving Time offset correct for dates both before and after 2006 (in the U.S.)?
Will these get the Leap Second offset correct for dates back to 1972 when leap seconds were instituted? (How do "Lilian" seconds account for Leap Seconds? If done correctly there's a simple affine conversion from (E)TOD values to Lilian seconds.) -- 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

