Philip,
Thanks I missed that. Here is the correct snippet:
$file = "install.log";
$time = (stat("$file"))[10];
$ltime = localtime($time);
print "$ltime\n";
---------------------------------------------------------
Eric Stephenson
Web Developer
ASI
(215) 752-4200
mailto:[EMAIL PROTECTED]
---------------------------------------------------------
>>> Philip Newton <[EMAIL PROTECTED]> 5/26/00 8:19:25 AM >>>
Eric Stephenson wrote:
> 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
This is not your code.
Please post the code you are using, using copy-and-paste; don't re-type it.
local($variable) does not return a string of the form you describe.
Cheers,
Philip
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
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]