The _____ function in COBOL is used for calculating the number of days between two dates.
- FUNCTION CURRENT-DATE
- FUNCTION DATE-DIFF
- FUNCTION DAY-COUNTER
- FUNCTION NUMVAL
In COBOL, the FUNCTION DATE-DIFF is used to calculate the difference in days between two dates. It is valuable for tasks such as determining the duration between two events.
Loading...
Related Quiz
- _____ is a strategy for handling duplicate records by aggregating data based on a common key.
- What is the difference between a figurative constant and a user-defined constant in COBOL?
- The _____ statement in COBOL is commonly used to handle variable-length records based on a condition.
- The REDEFINES clause is particularly useful when dealing with data conversion or changing the _____ of existing data items
- The "Input" file access mode is primarily used for _____ data from a file in COBOL.