faqts : Computers : Programming : Languages : PHP : Function Libraries : File Handling

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

7 of 12 people (58%) answered Yes
Recently 6 of 10 people (60%) answered Yes

Entry

Is there a way to get the time stamp from a file using PHP?

Jul 17th, 2002 19:30
Dan Stockton, Dave Martindale, http://www.theprojects.org/dev/lastmodified.html


getlastmod()
http://www.php.net/manual/en/function.getlastmod.php
echo "Last modified: " . date( "F d, Y", getlastmod() );