in reply to timelocal() rejects string-derived input
I added warnings and strict, the only error was needing 'my $myage'.1165881600 54 5 18 12 11 106 1165881600 54 5 18 12 11 106 1165881600 0 0 0 12 11 106 my age in days: 14745.0416666667
I think that Windows uses a different epoch, but I don't see how that might cause the problem.
Hmm...can you try with a date after Jan 1 1970? That's the Unix epoch.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: timelocal() rejects string-derived input
by rwburden (Novice) on Dec 12, 2006 at 18:53 UTC | |
by jbert (Priest) on Dec 12, 2006 at 23:39 UTC |