Use stat and it has create timestamp.

        $MyCreateTime = (stat($file))[10];     # pulls create time

Wags ;)  
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 20, 2002 10:05
To: [EMAIL PROTECTED]
Subject: Determining when a file was created???


Hello,

I'm trying to have a script check when a file was created.  I've looked 
at the file test operators (-C) but it looks like those wont help me 
because they return file ages since the script started running, I need 
something more like a timestamp.  Any ideas?

Thank you in advance for any help you can offer

brian


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


**********************************************************
This message contains information that is confidential
and proprietary to FedEx Freight or its affiliates.
It is intended only for the recipient named and for
the express purpose(s) described therein.
Any other use is prohibited.
****************************************************************


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to