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

Which command is used for displaying date in the format dd/mm/yyyy ? Correct Answer date +”%d/%m/%Y”

Date command can use format specifiers as arguments with each specifiers preceding with a + , followed by % operator and a single character for describing the format. $ date +%m -display current month $ date +%h -display the name of the month $ date +"%h %m" -display both month and month name

Related Questions

The different variant of Date() constructor to create date object is/are ___________ i. new Date(date) ii. new Date(milliseconds) iii. new Date(date string) iv. new Date(year, month, date)