How Do I Change the Date in Linux?
Contents How Do I Change the Date Format in Linux? to Format Date in Dd-Mm-Yyyy Format, Use the Command Date +%D-%M-%Y or Printf “%(%D-%M-%Y)Tn” $Epochseconds...
Contents
How do I change the date format in Linux?
To format date in DD-MM-YYYY format, use the command date +%d-%m-%Y or printf “%(%d-%m-%Y)Tn” $EPOCHSECONDS .
Must Read
How do you change date and time in Unix?
The date command under UNIX displays date and time. You can use the same command set date and time. You must be the super-user (root) to change the date and time on Unix like operating systems. The date command shows the date and time read from the kernel clock.