Which command is used for displaying date in the format dd mm yyyy?

Tâm Tây

New member
Which command is used for displaying date in the format dd mm yyyy?
Answer
To use the date in MM-YYYY format, we can use the command
date +%m-%Y. To use the date in Weekday DD-Month, YYYY format, we can use the command date +%A %d-%B, %Y.
 

Tìm kiếm

Back
Top