> this assumes you know the UTC offset at the time of the LPAR

That's the problem I was inquiring about: how to know what was the local
time offset on such-and-such a date, assuming the date is not "right now"?

But I think Gil has the solution.

Charles

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf
Of Rob Scott
Sent: Tuesday, February 28, 2012 11:45 AM
To: [email protected]
Subject: Re: How convert "historic" STCK to local time?

Something like :

        LG      GR0,CURR_STCK           UTC
        ALG     GR0,LPAR_STCK_OFFSET    Local time STCK offset as signed
value 64-bit 
        STG     GR0,NEW_STCK            New STCK value
        STCKCONV STCKVAL=NEW_STCK,
                CONVVAL=.....etc etc

Obviously this assumes you know the UTC offset at the time of the LPAR

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to