The description sounds like what you are looking for at least.

http://www.itjungle.com/fhg/fhg052406-story02.html

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Kevin Bucknum
Sent: Monday, September 17, 2007 12:05 PM
To: RPG programming on the AS400 / iSeries
Subject: RE: Converting Unix Jan 01 1970 UTC epoch datetime stamp
toiSeriesESTdatetime stamp

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?



--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.