t on the right side of the assignment.
- Original Message -
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 scri
[ 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) ;
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