0

How To print the requested/particular day date On Linux(CentOS )

Hello,

I just wanna know is there any easy way to get the date On CentOS ,instead of mugging of the date formats

Thanks in Advance

date command CentOS Add a comment
liam
asked Dec 23 2019

Answer

0

try running these commands

  • date --date="15 days" - to print the date of the 15th day"
  • date --date="3 days ago" - to print the date of the three days ago
  • date --date="today" - tp print the date of the current day
Add a comment
linuxhelp
asked Dec 23 2019
Post your Answer