Hi, I'm tryoing to make a cgi script that prints the time. I would like it to print the time that is on the system clock of ther server the script is on. Can anyone tell me how to do this? Thanks
Printable View
Hi, I'm tryoing to make a cgi script that prints the time. I would like it to print the time that is on the system clock of ther server the script is on. Can anyone tell me how to do this? Thanks
Code:$getdate = `date +"%D %T %Z"`;
chop ($getdate);
print $getdate