HomeMenu
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;
1733463089

2 · format

<?

$return = getlastmod();

echo date("F d, Y H:i:s", $return);
December 06, 2024 05:31:29