When invoked without arguments, the date command displays the current date and time. Depending on the options specified, date will set the date and time or print it in a user defined way. I’ve seen many people writing a perl script for calculating yesterday or tomorrow. Computer loves numbers but we love relative terms like 2 days ago. Luckily GNU date command is designed to handle relative date calculation.

Full story »
snotbutter's picture
Created by snotbutter 10 years 47 weeks ago – Made popular 10 years 47 weeks ago
Category: High End   Tags: