🎴 Flashcard Mode

testing Online Quiz - 116

Card1 / 20
Mastered0
Review0
QuestionClick to flip

What will be the ouput ? Dim MyDate, MyYear MyDate = #October 19, 1962# ' Assign a date. MyYear = Year(MyDate)

AnswerClick to flip back
A
year which is specified in MyDate
💡 Explanation:

The Year() function extracts the four-digit year from a specific date variable, not from the system date. In this case, it returns 1962 from the MyDate variable, not the current year or the full date.

Change Mode