in reply to Re^3: Calculate Age, days to next and days from last for a given birthday
in thread Calculate Age, days to next and days from last for a given birthday
$days will be correct for the current date regardless of the time or DST no? All other days are calculated as of 0:00:00 which should also be correct for any given date regardless of DST. Or am I missing something about the way localtime/timelocal work?my $days = (localtime)[7];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Calculate Age, days to next and days from last for a given birthday
by ikegami (Patriarch) on Apr 29, 2006 at 03:13 UTC | |
by ruzam (Curate) on Apr 29, 2006 at 03:54 UTC | |
by ikegami (Patriarch) on Apr 29, 2006 at 05:58 UTC | |
by ruzam (Curate) on Apr 29, 2006 at 17:01 UTC | |
by ikegami (Patriarch) on Apr 29, 2006 at 17:21 UTC | |
|