Help for this page

Select Code to Download


  1. or download this
    perl -e 'use POSIX 'strftime'; $_n_days_ago = strftime("%d", gmtime( t
    +ime-$DAY_AGO*86400 )); print "$_n_days_ago\n"'
    
  2. or download this
    # If the current date/time was "9/17/2012 12:00:00"....
    # (i.e. time is in 24-Hour format)
    ...
          "30, 40, 02, 15, 09, 2012"
    
    Which in date format is = "9/15/2012 02:40:30"