php8.5
Home/ Manual/ rrd / functions/ rrd_last

rrd_last

PHP function Edit on GitHub ✎

(PECL rrd >= 0.9.0)

Gets unix timestamp of the last sample

Description

rrd_last(string $filename): int

Returns the UNIX timestamp of the most recent update of the RRD database.

Parameters

filename

RRD database file name.

Return Values

Integer as unix timestamp of the most recent data from the RRD database.

Source: reference/rrd/functions/rrd-last.xml · from the official PHP manual (php/doc-en)