dates

warning: Creating default object from empty value in /home/www/drupal/drupal-6.19/modules/taxonomy/taxonomy.pages.inc on line 34.
14

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 7 years 13 weeks ago – Made popular 7 years 13 weeks ago
Category: High End   Tags: