Computer Science, asked by cananyonehelp3072, 1 year ago

Write the command to display the current date in the form dd/mm/yyyy.

a.date +%d/%m/%y

b.date +"%d/%m/%y"

c.date +/%d/%m/20%y

d.date +"/%d/%m/20%y"

Answers

Answered by webstar0
1
a. date +%d/%m/%y is the command to display the current date in the form dd/mm/yyyy.
Answered by aroranishant799
0

Ques. Write the command to display the current date in the form dd/mm/yyyy.

1. date +%d/%m/%Y

2. date +”%d/%m/%Y”

3. date +/%d/%m/20%y

4. date +”/%d/%m/20%y”

Answer:

The correct answer is option 1. date +%d/%m/%Y.

Explanation:

The date +%d/%m/%Y command is used to display the current date in the form dd/mm/yyyy.

A command is a precise command that tells a computer application how to accomplish a task or function. Commands are typically entered in Windows using a command-line interpreter such as Command Prompt or Recovery Console. Commands must be typed exactly into a command line interpreter.

The date command is used to display the current date and time on the system. The date command is also used to set the system's date and time. The date command, by default, displays the date in the time zone that the Unix/Linux operating system is set to.

#SPJ2

Similar questions