Rabenschwinge has asked for the wisdom of the Perl Monks concerning the following question:
Output:use Time::Local; (...) next unless (m{^(\d{4})-(\d\d)-(\d\d)$}); print "$3.$2.$1\n"; $next = timegm(0,0,0,$3,$2,$1-1900);
Could anyone explain that please?31.08.2009 Day '31' out of range 1..30 at /home/bjoern/bin/search.pl line 18
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: timegm: There is no August, 31 in 2009
by Corion (Patriarch) on Jul 21, 2010 at 10:57 UTC | |
|
Re: timegm: There is no August, 31 in 2009
by duelafn (Parson) on Jul 21, 2010 at 10:58 UTC | |
|
Re: timegm: There is no August, 31 in 2009
by tlhackque (Beadle) on Jul 24, 2010 at 19:00 UTC |