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 =

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?

Re: Date format again

2002-03-03 Thread Marcelo E. Magallon
[ Don't Cc: me, I read this mailing list, thank you ] Troy May [EMAIL PROTECTED] writes: ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime; $thisday = (Sun,Mon,Tue,Wed,Thu,Fri,Sat)[(localtime) [6]]; $s = (localtime)[0]; $m = (localtime)[1]; $m = ($m + 35) ; Is

Re: Date format again

2002-03-03 Thread Alfred Wheeler
- From: Troy May [EMAIL PROTECTED] To: Beginners CGI List [EMAIL PROTECTED] Sent: Sunday, March 03, 2002 12:52 AM Subject: Date format again 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