The HttpResponse
PHP Manual

HttpResponse::setLastModified

(PECL pecl_http >= 0.12.0)

HttpResponse::setLastModifiedSet last modified

Description

static bool HttpResponse::setLastModified ( int $timestamp )

Set a custom Last-Modified date.

Parameters

timestamp

Unix timestamp representing the last modification time of the sent entity

Return Values

Returns TRUE on success or FALSE on failure.

See Also


The HttpResponse
PHP Manual