Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Getting modified date for a file (Win32)

by maa (Pilgrim)
on Aug 18, 2004 at 09:35 UTC ( [id://383904]=note: print w/replies, xml ) Need Help??


in reply to Getting modified date for a file (Win32)

I use that on NT4 all the time... are you using UNC filenames or a mapped drive? (UNC works). Try a one-liner...

C:\rexec>echo > file.txt
C:\rexec>perl -e "print scalar localtime((stat('file.txt'))[9])"
Wed Aug 18 10:33:50 2004

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://383904]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2024-04-23 15:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found