------------------------------------------------ On Thu, 30 Jan 2003 07:59:11 -0500, [EMAIL PROTECTED] wrote:
> Hi there mates, > > I would like to Know If anyone of you have already tried to get the time and > date a file was created from the OS. For example imagine I have a *.java file > and I would like to compare the *.class file date of creation with the date of > edition of the *.java file in other to make sure the *.class file was generated > (compiled ) or not after the *.java new edition. > Do you really want creation date? or last modified date? In the former case it is system dependent and many systems do not provide it or it isn't reliable, in the latter case you should check out: perldoc -f stat One of the parameters it returns is the last modified date/time of the file. http://danconia.org -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]