I'm assuming your talking about database column dates.

As far as I know DB2 stores the date in ISO format if the file is described with DDL (SQL).

If it is described using DDS all bets are off as you could define the date format at creation, so there is no real standard there, could be *USA, *ISO, etc.

So it depends on how the file was described.

-----Original Message-----
From: Justin Dearing [mailto:zippy1981@xxxxxxxxx]
Sent: Friday, October 16, 2015 4:08 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Subject: Is there a name for date format used by DB2?

Its not ISO 8601. does it adhere to a published standard, or is it an IBM standard?

Yes, its a bit of pedantry. However, I want to patch the DateTime object in PHP, and possible python, and it would be an easier sell to get my patch accepted into the core dateTime objecct for an OS if I was supporting some ANSI/ISO standard as opposed to "the format the IBM i uses".

This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.

This thread ...


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

This mailing list archive is Copyright 1997-2020 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].