× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I agree about the CEE* stuff - lots of interesting things there, not just date/time - aren't there math functions there? Next time we want a cosine, it's the ticket!

CEEDATM is still probably not the right one - its input is a different base - number of seconds since 14 October 1582 (not including leap seconds - huh?). This unformatted timestamp is all different.

I see that the CEE* functions are found on the p and z - that's probably why they are kept apart, they are cross-platform. CEE means "Common Execution Environment", as I just found.

Later
Vern

On 2/23/2011 9:27 PM, Dennis wrote:
I typed DATE from habit. Have a look at CEEDATM - it's worth a gander. But after I posted that, I realized that a conversion from timestamp would still be necessary, kind of defeating the purpose. So no gain in this case. But I do really, really like that CEE* stuff, and believe those features may be overlooked frequently 'cuz the names don't start with Q and the "QUSEC" style feedback is not in their designs. Plus, it seems to be separate in the documentation from the other APIs somehow. Maybe it's just me.

"Vern Hamberg"<vhamberg@xxxxxxxxxxx> wrote:

I don't think CEEDATE will do the job - that works with Lillian dates,
or the number of days since some date in 1582 or so - I'm not Bruce V!!
-

this is a system timestamp, which is the number of clock ticks (maybe)
since 1 Jan 1970, I believe.

On 2/23/2011 12:59 PM, Dennis wrote:
See the CEEDATE API documentation at http://publib.boulder.ibm.com.

"Marvin Radding"<marvin.radding@xxxxxxxxxxxxxxxxxxxxx> wrote:

Here is the number

UNFORMATTED_TIMESTAMP = 10611840837506760704

I think this would be 09/28/10 09:34:00 if properly converted.

This is a 20U 0 number not a time or a timestamp field. It comes
from
the Retrieve Journal Entry API and I need to convert it to a human
readable format.

Thanks,

Marvin
--
This is the RPG programming on the IBM i / System i (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.
--
Sent from my Galaxy tablet phone with with K-9 Mail. Please excuse my brevity.

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-2024 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.