On Thu, 14 Jun 2001, Mark Folse wrote:
> I started out doing the same thing on my NT box many moons ago, and
> found this more reliable and easier to manage:
>
> ($day,$month,$date,$time,$year)=split (/ /,localtime);
localtime can also be used directly in a list context, for more
flexibility:
my ($day, $month, $year) = (localtime)[3,4,5];
You just have to remember to add 1900 to the year value!
-- Brett
http://www.chapelperilous.net/btfwk/
------------------------------------------------------------------------
He knows not how to know who knows not also how to unknow.
-- Sir Richard Burton
- Problem printing a system value to a filehandle (windows) Craig S Monroe
- Re: Problem printing a system value to a filehandle (w... Chas Owens
- Re: Problem printing a system value to a filehandl... Craig S Monroe
- Re: Problem printing a system value to a filehandle (w... Mark Folse
- RE: Problem printing a system value to a filehandl... Brett W. McCoy
- RE: Problem printing a system value to a filehandle (w... John Edwards
- Re: Problem printing a system value to a filehandl... Craig S Monroe
- Re[2]: Problem printing a system value to a fileha... Peter Scott
- RE: Problem printing a system value to a filehandle (w... JColwell
