Atul Dhawan

portable built function not recognizing dates greater than 12/31/3300

Discussion created by Atul Dhawan on Oct 28, 2009
Latest reply on Dec 9, 2009 by Mike Dixon



I am using a version 6.7 and my deployment environment for the project is COBOL. For handling the dates I am using the portable() built in functions.

What I noticed is that when the date exceeds the 12/31/3300 the portable() function starts throwing wrong results. In such cases it even fails on portable()verifyDate(3301, 12, 31) function.


I have a scenario where I need to compare two dates and one of the dates could have a value defined as 12319999.


Is there a workaround for handling such dates?