array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'uk', ), 'this' => array ( 0 => 'function.rrd-first.php', 1 => 'rrd_first', 2 => 'Gets the timestamp of the first sample from rrd file', ), 'up' => array ( 0 => 'ref.rrd.php', 1 => 'RRD Функції', ), 'prev' => array ( 0 => 'function.rrd-fetch.php', 1 => 'rrd_fetch', ), 'next' => array ( 0 => 'function.rrd-graph.php', 1 => 'rrd_graph', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/rrd/functions/rrd-first.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

rrd_first

(PECL rrd >= 0.9.0)

rrd_firstGets the timestamp of the first sample from rrd file

Опис

function rrd_first(string $file, int $raaindex = 0): int

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

Параметри

file
RRD database file name.
raaindex
The index number of the RRA that is to be examined. Default value is 0.

Значення, що повертаються

Integer number of unix timestamp, або false в разі помилки.