Multiple choice technology testing

what will be the output of Dim MyDay MyDay = Day("October 19, 1962")?

  1. 1962

  2. 19

  3. october

  4. monday

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The Day() function in Visual Basic extracts the day component from a date, returning an integer from 1 to 31 representing the day of the month. For October 19, 1962, it returns 19, not the year (1962), month name (october), or weekday name (monday).