Get a file's date and time
Moderator: General Moderators
-
rashedkarim
- Forum Newbie
- Posts: 2
- Joined: Thu Jun 02, 2005 5:26 pm
Get a file's date and time
How can i make php get a file's (on the server) creation time/date?
I'm pretty sure on a windows server you can't get the creation date/time.
you can use stat() to get other information, but I don't believe you can get the creation date. If you're using unix, I remember reading a while back taht you can hack your way into determining the creation date, but I don't recall where.
try searching this forum for "file creation date"
you can use stat() to get other information, but I don't believe you can get the creation date. If you're using unix, I remember reading a while back taht you can hack your way into determining the creation date, but I don't recall where.
try searching this forum for "file creation date"
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Doesn't filectime() do this?Syranide wrote:However creation time is not available though as far as I know, not available on Linux I believe...