Hi,

I am using the following to try and get the file date and time but for some reason am 
not getting what I am expecting.

Here is the snippet of code:

$file = "install.log";
$time = (stat("$file"))[10]; 
$ltime = local($time); 

print "$ltime\n";

And what I am getting out:

Wed Dec 31 19:00:00 1969

Even though I know the file was created and access on May 24, 00. 

What is going on?

I am running this on NT 4.0 

Thanks for your help

---------------------------------------------------------
Eric Stephenson
Web Developer
ASI
(215) 752-4200
mailto:[EMAIL PROTECTED]
---------------------------------------------------------

<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>

The ASI Show! is a unique benefit of your ASI Membership!
See you July 18-19 in Chicago and September 24-25 in Orlando.

Developed exclusively for ASI members, The ASI Show! is the best trade
show value in the industry! All exhibits in one floor and one
hall...outstanding industry-specific education plus dynamic
keynotes...uniquely fun networking opportunities featuring the
much-talked-about Gala Celebration...thousands of new products and show
specials and much more. Visit http://www.asishow.com to learn more!

<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>


---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
         [EMAIL PROTECTED]
For non-automated Mailing List support, send email to
         [EMAIL PROTECTED]

Reply via email to