Query: getlastmod
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
GETLASTMOD(3) 1 GETLASTMOD(3) getlastmod - Gets time of last page modificationSYNOPSISint getlastmod (void )DESCRIPTIONGets the time of the last modification of the main script of execution. If you're interested in getting the last modification time of a different file, consider using filemtime(3).RETURN VALUESReturns the time of the last modification of the current page. The value returned is a Unix timestamp, suitable for feeding to date(3). Returns FALSE on error.EXAMPLESExample #1 getlastmod(3) example <?php // outputs e.g. 'Last modified: March 04 1998 20:43:59.' echo "Last modified: " . date ("F d Y H:i:s.", getlastmod()); ?>SEE ALSOdate(3), getmyuid(3), getmygid(3), get_current_user(3), getmyinode(3), getmypid(3), filemtime(3). PHP Documentation Group GETLASTMOD(3)
| Related Man Pages |
|---|
| filemtime(3) - php |
| datetime.settime(3) - php |
| stat(3) - php |
| fileatime(3) - php |
| datetimeinterface.gettimestamp(3) - php |
| Similar Topics in the Unix Linux Community |
|---|
| date is not getting the filedate value. |
| Insert date/time within a filename |
| Search by modification date |
| List the file or files with last modification date |
| Last modification date without 'ls' |