Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php file date created older than

if (time()-filectime($filename) > 2 * 3600) {
  // file older than 2 hours
} else {
  // file younger than 2 hours
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #file #date #created #older
ADD COMMENT
Topic
Name
4+1 =