Multiple choice technology programming languages

What could be the date displayed after executing this statement PRINT $DATECHG('MON. DD, YYYY' , ' JAN. 10, 2009', 5)

  1. 15/01/2009

  2. JAN.15,2009

  3. JAN.20,2009

  4. JAN.25,2009

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

The $DATECHG function adds 5 days to January 10, 2009, resulting in January 15, 2009. The function preserves the original date format 'MON. DD, YYYY' in its output, so the result is JAN.15,2009 (with the format matching the input pattern). The function performs date arithmetic by incrementing the day component.