Support Tip: Visual COBOL supports new intrinsic functions to test the validity of a given date

0 Likes

Starting with Visual COBOL 7.0, the following date-format-checking intrinsic functions have been added:

TEST-DATE-YYYYMMDD

The TEST-DATE-YYYYMMDD function tests the validity of a date in standard date form (YYYYMMDD) against the Gregorian calendar

TEST-DAY-YYYYDDD

The TEST-DAY-YYYYDDD function tests the validity of a date in Julian date form (YYYYDDD) against the Gregorian calendar

Labels:

How To-Best Practice
Support Tip
Comment List
Anonymous
Related Discussions
Recommended