dates

0

Getting Yesterdays or Tomorrows day with shell date command

http://www.cyberciti.biz

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.

Read more »
snotbutter's picture
Created by snotbutter 17 years 17 weeks ago – Made popular 17 years 17 weeks ago
Category: High End   Tags:

Best karma users