borisz has asked for the wisdom of the Perl Monks concerning the following question:
but I get this.Sat Jan 1 00:00:00 2005 Sun Jan 1 00:00:00 2006
use Time::Local qw/timelocal_nocheck/; print scalar( localtime( timelocal_nocheck( 0,0,0,1,0,5 )) ), "\n"; print scalar( localtime( timelocal_nocheck( 0,0,0,1,12,5 )) ); __OUTPUT__ Sat Jan 1 00:00:00 2005 Sat Jan 1 00:00:00 2005
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: timelocal_nocheck: bug or wrongly understood
by blokhead (Monsignor) on Nov 28, 2005 at 17:30 UTC | |
|
Re: timelocal_nocheck: bug or wrongly understood
by ikegami (Patriarch) on Nov 28, 2005 at 19:06 UTC | |
|
Re: timelocal_nocheck: bug or wrongly understood
by ikegami (Patriarch) on Nov 28, 2005 at 18:34 UTC | |
|
Re: timelocal_nocheck: bug or wrongly understood
by gu (Beadle) on Nov 28, 2005 at 19:00 UTC | |
|
Re: timelocal_nocheck: bug or wrongly understood
by borisz (Canon) on Nov 29, 2005 at 08:57 UTC |