Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

getlastmod

Description

The getlastmod Options / Information for PHP gets time of last page modification.

Syntax

getlastmod(): int|false

Return

Returns the time of the last modification of the current page. The value returned is a Unix timestamp, suitable for feeding to date(). Returns false on error.

Examples

1 · void

<?

$return = getlastmod();

echo $return;

?>
1710849112

2 · format

<?

$return = getlastmod();

echo date("F d, Y H:i:s", $return);

?>
March 19, 2024 11:51:52
HomeMenu