RRD Functions
PHP Manual

rrd_first

(PECL rrd >= 0.9.0)

rrd_firstGets the timestamp of the first sample from rrd file.

Description

int rrd_first ( string $file [, string $raaindex ] )

Returns the first data sample from the specified RRA of the RRD file.

Parameters

file

Filename for a rrd file.

raaindex

The index number of the RRA that is to be examined. Default value is 0.

Return Values

Integer number of unix timestamp, FALSE if some error occurs.


RRD Functions
PHP Manual