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

getlastmod

Description

The getlastmod of 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;

?>
1726819918

2 · format

<?

$return = getlastmod();

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

?>
September 20, 2024 08:11:58
HomeMenu