🎴 Flashcard Mode

COBOL and SAS Programming Basics

Card1 / 18
Mastered0
Review0
QuestionClick to flip

y=intnx('year','21oct2009'd,3,'mid')What is the value of y?

AnswerClick to flip back
A
19175 - Numeric equivalent of the date 01jul2012
💡 Explanation:

The SAS intnx function advances dates by intervals. intnx('year', '21oct2009'd, 3, 'mid') adds 3 years using 'mid' alignment, landing on July 1, 2012, which has SAS date value 19175.

Change Mode