Q39
Which command is used to get the current date only?
A.
Date
AnswerB.
Time
C.
Second
D.
All of the above
Answer: Option A
Solution
Answer: Option A
Solution:
In Disk Operating System (DOS), the command used to get the current date only is Option A: Date. When you enter "date" at the command prompt in DOS, it displays the current date set on the system.Option B, "Time," is used to display or set the current time, not the date.
Option C, "Second," is not a valid DOS command for retrieving the date.
Therefore, the correct answer is Option A: Date.