Re: Date format again

2002-03-03 Thread fliptop
Troy May wrote: > Hello, this guy finally emailed his script to me. The problem he is having > is with "$year". Here's the dating part of the code: > > --- > $date = `/bin/date`; > chop($date); has this guy considered using Date::Calc? http://search.cpan.

Date format again

2002-03-03 Thread Troy May
Hello, this guy finally emailed his script to me. The problem he is having is with "$year". Here's the dating part of the code: --- $date = `/bin/date`; chop($date); ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime; $thisday = (Sun,Mon,Tue,We