Skip to main content

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

  • July 7, 2022
  • 0 replies
  • 0 views

Chris Glazier
Forum|alt.badge.img+2

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


#HowTo-BestPractice
#SupportTips/SupportTips/KnowledgeDocs
#TEST-DATE-YYYYMMDD
#VisualCOBOL
#TEST-DAY-YYYYDDD
#COBOL
#SupportTips/KnowledgeDocs
#VisualCOBOL
#intrinsicfunction