May 31, 2000, 2:01 PM
Post #2 of 3
Try using the localtime subroutine.
Re: extracting the date from the server and printing to a file
[In reply to]
my @time = &localtime();
but you will have to add 1900 to get the current year, example:
$time += 1900;
you would then do this to print out today's date.
print "$time $time, $time\n";
hope this helps
[This message has been edited by mckhendry (edited 05-31-2000).]