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 into 2 > variables ($date,$time) > > and then store them into a file? > > > > --------------------------------- > Do You Yahoo!? > Send FREE Valentine eCards with Yahoo! Greetings! ---------------------------------------- Content-Type: text/html; charset="us-ascii"; name="Attachment: 1" Content-Transfer-Encoding: 7bit Content-Description: ---------------------------------------- _______________________________________________ Perl-Unix-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/listinfo/perl-unix-users