Click to See Complete Forum and Search --> : Getting the date?


deep
08-28-2003, 04:39 PM
Hello again :)

This time i need to know how to print the a specific date when a file was created on the server (is possible).

Lets say, I created a file called "hello.txt" on the 2003-03-24. Can I somehow get this date returned just by calling a specific function maybe?

Thanks.

pyro
08-28-2003, 06:46 PM
How about by getting when the page was last modefied? Take a look at filemtime() (http://us4.php.net/manual/en/function.filemtime.php) and getlastmod() (http://us4.php.net/manual/en/function.getlastmod.php)...