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;

?>
1718705149

2 · format

<?

$return = getlastmod();

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

?>
June 18, 2024 10:05:49
HomeMenu