Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
This is to count days from Feb 09, 2004.
my $start = timegm(0, 0, 0, 9, 1, 2004); printf "%d", int((timegm(localtime) - $start)/(24*60*60));
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Days since is broken!
by saintmike (Vicar) on May 19, 2004 at 16:01 UTC | |
by Anonymous Monk on May 19, 2004 at 16:18 UTC | |
by merlyn (Sage) on May 19, 2004 at 16:31 UTC | |
by Anonymous Monk on May 19, 2004 at 17:42 UTC | |
|
Re: Days since is broken!
by idsfa (Vicar) on May 19, 2004 at 16:08 UTC |