You are correct. I seem to recall some java classes that handled that,
but I don't remember which ones they were.

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Mike Cunningham
Sent: Monday, September 17, 2007 11:33 AM
To: RPG programming on the AS400 / iSeries
Subject: RE: Converting Unix Jan 01 1970 UTC epoch datetime stamp to
iSeriesESTdatetime stamp

I did find similar code but this looks to me like it will adjust the
time
based on the current value in QUTCOFFSET not the value it was at the
time
the unix timestamp was made. So if "today" is December 1 and the time
difference is -05:00 but the unix stamp was made June 1 when the
offset
was only -04:00 the result will be off 1 hour won't it?




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.