develooper Front page | perl.perl5.porters | Postings from March 2000

Re: [ID 20000307.005] Date Problem

Thread Previous
Jeff Pinyan
March 7, 2000 08:46
Re: [ID 20000307.005] Date Problem
Message ID:
On Mar 7, Tom Christiansen said:

>>$month =
>>$day =
>That's not what localtime is documented to do.  Some are offsets,
>some aren't.  

You didn't fry him on the fact that he used (localtime)[3] for both list
offsets (month and day).  He should have used (localtime)[4] for the month

MIDN 4/C PINYAN, NROTCURPI, US Naval Reserve           
PerlMonth - An Online Perl Magazine  
The Perl Archive - Articles, Forums, etc.

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About