Thread timelocal Wochentag? (4 answers)
Opened by Froschpopo at 2007-11-06 04:01

pq
 2007-11-06 10:43
#101905 #101905
User since
2003-08-04
12209 Artikel
Admin1
[Homepage]
user image
perldoc Time::Local:
Quote
It is worth drawing particular attention to the expected ranges for the
values provided. The value for the day of the month is the actual day
(ie 1..31), while the month is the number of months since January
(0..11)
. This is consistent with the values returned from localtime()
and gmtime().

debugging:
Code (perl): (dl )
print scalar localtime $time;
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: Wiki:Wie frage ich & perlintro Wiki:brian's Leitfaden für jedes Perl-Problem

View full thread timelocal Wochentag?