Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Getting modified date for a file (Win32)

by maa (Pilgrim)
on Aug 18, 2004 at 09:35 UTC ( #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? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (1)
As of 2023-05-28 16:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?