php get last modified date of file

Solutions on MaxInterview for php get last modified date of file by the best coders in the world

showing results for - "php get last modified date of file"
Stefano
03 Oct 2018
1$filename = 'somefile.txt';
2if (file_exists($filename)) {
3    echo "$filename last modified: ".date ("F d Y H:i:s.", filemtime($filename));
4  	// somefile.txt was last changed: December 29 2020 22:16:23.
5}
6// filectime: when created
7// filemtime: last modified
8// fileatime: last accessed
Princeton
16 Mar 2018
1fast and 
queries leading to this page
get file created date phpphp get file timephp get files with creation datephp get file date createdphp check file creation datephp file created datecurrent time set to file name in phpname a file qiwht current time phpphp get modified date of fileget creation date of file phpphp get the file time datephp get file created timeget date file phpphp get date from filecreate file with current date time name phpphp get last modified date of remote filephp get file date creationhow to get file create date in phpphp how to get file modified dateget file creation time phpphp get file created between datesget file time phpphp date of filewhich php function is used to determine when a file was last modifiedphp get all last modified fileshow to get file datetime in phpphp get today created filesall files modified date find using phpphp get files from today 27s dateget file creation date phpphp file get creation dateget file created time phpphp write file change modified datephp read file date modifiedphp get created date of fileget creation date file phpfile date creation phpget datetime of file phpget file created date in phpphp get file creation datephp get file date and timephp get file list last modifiedphp get file dateget file modified date phpphp get file last modifiedphp file creation datephp get file last updated datelast modified time file phpphp return files created todayget file in today created phpget file modified time phpphp get file created dateget file last modified date phpget last modification time of file phpget file date phphow to get file creation date in phpphp get last modified date of file