<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.ev.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'en',
  ),
  'this' => 
  array (
    0 => 'ev.now.php',
    1 => 'Ev::now',
    2 => 'Returns the time when the last iteration of the default event
  loop has started',
  ),
  'up' => 
  array (
    0 => 'class.ev.php',
    1 => 'Ev',
  ),
  'prev' => 
  array (
    0 => 'ev.iteration.php',
    1 => 'Ev::iteration',
  ),
  'next' => 
  array (
    0 => 'ev.nowupdate.php',
    1 => 'Ev::nowUpdate',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/ev/ev/now.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="ev.now" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">Ev::now</h1>
  <p class="verinfo">(PECL ev &gt;= 0.2.0)</p><p class="refpurpose"><span class="refname">Ev::now</span> &mdash; <span class="dc-title">Returns the time when the last iteration of the default event
  loop has started</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-ev.now-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">final</span>
   <span class="modifier">public</span>
   <span class="modifier">static</span>
   <span class="methodname"><strong>Ev::now</strong></span>(): <span class="type"><a href="language.types.float.php" class="type float">float</a></span></div>

  <p class="simpara">
   Returns the time when the last iteration of the default event loop has
   started. This is the time that timers(
   <span class="classname"><a href="class.evtimer.php" class="classname">EvTimer</a></span>
   and
   <span class="classname"><a href="class.evperiodic.php" class="classname">EvPeriodic</a></span>)
   are based on, and referring to it is usually faster then calling
   <span class="methodname"><a href="ev.time.php" class="methodname">Ev::time()</a></span>.
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-ev.now-parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">This function has no parameters.</p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-ev.now-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="simpara">
   Returns number of seconds(fractional) representing the time when the last
   iteration of the default event loop has started.
  </p>
 </div>

 <div class="refsect1 seealso" id="refsect1-ev.now-seealso">
  <h3 class="title">See Also</h3>
  <ul class="simplelist">
   <li>
    <span class="methodname"><a href="ev.nowupdate.php" class="methodname" rel="rdfs-seeAlso">Ev::nowUpdate()</a> - Establishes the current time by querying the kernel, updating the time
    returned by Ev::now in the progress</span>
   </li>
  </ul>
 </div>

</div><?php manual_footer($setup); ?>