Using Date Command

%date - This command prints current system date and time on the screen.
e.g.

Sat Apr  8 11:22:44 IST 2006

%date -d IST - gives display time described by STRING, not 'now'.

%date -f filename - gives date and time described by each line in file 'filename'.

%date -r filename - gives last modification time of that file 'filename'.

%date -u - gives Coordinated Universal Time.

Back to Linux Tips

More Info

Don't forget to see our Tools' page and linux resources page
For Linux commands see - Useful Linux Tips

gnuServices interests

gnuServices tools...

Report Generation

Open Source

Report Generation is an integral part of enterprise application. We write Shell scripts for automation and Perl scripts for Report Generation of various kinds. More…

Knowledge Base

Website Applications

With Perl, PHP - We use CSS layouts which is the latest trends in web-designing. This has many advantages over the old-school web-design practices. If you would like to learn more about what it is, please visit www.zeldman.com. More…