CubeDweller has asked for the wisdom of the Perl Monks concerning the following question:
Thankssub create_date { my ($sec, $min, $hour, $wday, $month, $year, $yday, $something) = loca +ltime(time()); $curyear = $year + 1900; $today = join "/",$wday,$month + 1,$curyear; $daysofyear = $year * 365; $daysthisyear = $yday; $daystonow = $daysofyear + $daysthisyear; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Counting the days from year 1900 to current
by CheeseLord (Deacon) on Aug 11, 2001 at 00:16 UTC | |
by CubeDweller (Initiate) on Aug 11, 2001 at 00:24 UTC | |
by IraTarball (Monk) on Aug 11, 2001 at 02:51 UTC | |
by ralphie (Friar) on Aug 11, 2001 at 04:21 UTC | |
|
Re: Counting the days from year 1900 to current
by astaines (Curate) on Aug 11, 2001 at 03:27 UTC |