Multiple choice technology operating systems

I want to change the date of my linux server to 'Mon Nov 23 18:08:07 IST 2009'. Which of the following commands wil help?(ignore the seconds in the date)

  1. a) date 1123180809

  2. b) date 2311180809

  3. c) date -s "Mon Nov 23 18:08:07 IST 2009"

  4. d) Both a and c

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

The Unix date command accepts both numeric format (MMDDhhmm) and string format with the -s flag. Option 'a' provides the numeric representation where 1123180809 means November 23, 18:08, and option 'c' provides the full date string format. Both methods successfully change the system date.