PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

rrd_last

(PECL rrd >= 0.9.0)

rrd_lastGets unix timestamp of the last sample.

Description

int rrd_last ( string $filename )

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.

PHP Manual