Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
i was figuring on using
of course the bit in the !! .. !! must be the magic line of code that steals one day from the perl function "localtime()"$i=0 while ($i < 10) { @time_array = localtime() !!minus $i++ days!!; }
anyone help?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: how do i get yesterday's date using localtime()?
by btrott (Parson) on Apr 26, 2000 at 22:33 UTC | |
by dws (Chancellor) on May 30, 2001 at 00:27 UTC | |
by qball (Beadle) on May 30, 2001 at 00:13 UTC | |
|
Re: how do i get yesterday's date using localtime()?
by ZZamboni (Curate) on Apr 26, 2000 at 23:05 UTC | |
|
Re: how do i get yesterday's date using localtime()?
by egabriel (Initiate) on Apr 26, 2000 at 23:20 UTC |