Page 1 of 1

date folder was created

Posted: Wed Jun 27, 2007 7:40 am
by mlecho
hi all...i know you can get date modified of files with filemtime but can you do something similar with folders. More so, date created/???

Posted: Wed Jun 27, 2007 7:46 am
by volka
Have you tried filemtime() with a directory path as parameter?

Posted: Wed Jun 27, 2007 7:47 am
by feyd
I don't recall the native functions having access to that information.

Posted: Wed Jun 27, 2007 9:47 am
by mlecho
yeah....it's not....so, any ideas on how to script something that can find this on a folder? i am sure there is a workaround, no?

Posted: Wed Jun 27, 2007 10:06 am
by mlecho
volka- it could be my script...but it does not work for folders....

Posted: Wed Jun 27, 2007 10:12 am
by volka
mlecho wrote:More so, date created/???
First you need a filesystem that stores that kind of information. I know ntfs does and ext2/3 does not.