×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Hello Alan Rob.

Thanks,
I've tested iDate function but it returns weird values.

like in

select idate(19500523) as idate1, idate(20050523) as idate2
from SYSIBM.SYSDUMMY1

IDATE1 IDATE2
2850-05-23 1905-05-23


year 1950 is returned as 2850
year 2005 is returned as 1905

where did I err ?

(this is a V7R2 machine if it matters)

TIA
Gad

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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

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