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