saurav
asked on
Including "date" in cgi file(perl)
Hi,
In my test.pl file I have included "date" variable:
$mydate=`date`
print "$mydate\n";
But while I run test.pl from MS/DOS, the perl program outputs today's date after i "enter twice" after typing test.pl !!
Also when I include the above two lines in my .cgi script(perl), today's date does not show up!
saurav
In my test.pl file I have included "date" variable:
$mydate=`date`
print "$mydate\n";
But while I run test.pl from MS/DOS, the perl program outputs today's date after i "enter twice" after typing test.pl !!
Also when I include the above two lines in my .cgi script(perl), today's date does not show up!
saurav
$mydate=localtime;
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.