Multiple choice technology testing

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

  1. current year

  2. current date

  3. year which is specified in MyDate

  4. date which is specified in MyDate

Reveal answer Fill a bubble to check yourself
C Correct answer
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.