Chris Nikou wrote:
> how can i retrieve current time & date in order to store them into 2
> variables ($date,$time)
>
> and then store them into a file?
Change the format to what you want:
use strict;
use POSIX;
my $date = strftime ("%d-%b-%Y", localtime);# 06-Feb-2002
my $time = strft
Check out the localtime function...
perldoc -f localtime
You can take the resulting list of date/time elements & create $date and
$time.
Jason
If memory serves me right, on Wednesday 06 February 2002 17:04, Chris Nikou
wrote:
> how can i retrieve current time & date in order to store them in
how can i retrieve current time & date in order to store them into 2 variables ($date,$time)
and then store them into a file?Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!