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
The TEST-DAY-YYYYDDD function tests the validity of a date in Julian date form (YYYYDDD) against the Gregorian calendar
#HowTo-BestPractice
#SupportTips/SupportTips/KnowledgeDocs
#TEST-DATE-YYYYMMDD
#VisualCOBOL
#TEST-DAY-YYYYDDD
#COBOL
#SupportTips/KnowledgeDocs
#VisualCOBOL
#intrinsicfunction