PHP function getlastmod()

Availability in PHP 4.0

Gets time of last page modification

Parameters

The function has no input parameters.

Return values

int

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.

Additional resources

Official getlastmod documentation

Newsletter

Nejlepsi tipy a triky o PHP do Vaseho e-mailu. Clanky a novinky nejen ze sveta PHP a programovani.