<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.mongodb-bson-timestampinterface.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'en',
  ),
  'this' => 
  array (
    0 => 'mongodb-bson-timestampinterface.gettimestamp.php',
    1 => 'MongoDB\\BSON\\TimestampInterface::getTimestamp',
    2 => 'Returns the timestamp component of this TimestampInterface',
  ),
  'up' => 
  array (
    0 => 'class.mongodb-bson-timestampinterface.php',
    1 => 'MongoDB\\BSON\\TimestampInterface',
  ),
  'prev' => 
  array (
    0 => 'mongodb-bson-timestampinterface.getincrement.php',
    1 => 'MongoDB\\BSON\\TimestampInterface::getIncrement',
  ),
  'next' => 
  array (
    0 => 'mongodb-bson-timestampinterface.tostring.php',
    1 => 'MongoDB\\BSON\\TimestampInterface::__toString',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/mongodb/bson/timestampinterface/gettimestamp.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="mongodb-bson-timestampinterface.gettimestamp" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">MongoDB\BSON\TimestampInterface::getTimestamp</h1>
  <p class="verinfo">(mongodb &gt;=1.3.0)</p><p class="refpurpose"><span class="refname">MongoDB\BSON\TimestampInterface::getTimestamp</span> &mdash; <span class="dc-title">Returns the timestamp component of this TimestampInterface</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-mongodb-bson-timestampinterface.gettimestamp-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">abstract</span> <span class="modifier">public</span> <span class="methodname"><strong>MongoDB\BSON\TimestampInterface::getTimestamp</strong></span>(): <span class="type"><a href="language.types.integer.php" class="type int">int</a></span></div>

 </div>


 <div class="refsect1 parameters" id="refsect1-mongodb-bson-timestampinterface.gettimestamp-parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">This function has no parameters.</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-mongodb-bson-timestampinterface.gettimestamp-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   Returns the timestamp component of this TimestampInterface.
  </p>
  <div class="warning"><strong class="warning">Warning</strong>
   <p class="simpara">
    On 32-bit systems this method may return a negative number. Although the
    increment and timestamp parts of the BSON timestamp type consists of two
    unsigned 32-bit values, PHP can not represent these on 32-bit platforms.
   </p>
  </div>
 </div>


 <div class="refsect1 seealso" id="refsect1-mongodb-bson-timestampinterface.gettimestamp-seealso">
  <h3 class="title">See Also</h3>
  <ul class="simplelist">
   <li><span class="methodname"><a href="mongodb-bson-timestamp.gettimestamp.php" class="methodname" rel="rdfs-seeAlso">MongoDB\BSON\Timestamp::getTimestamp()</a> - Returns the timestamp component of this Timestamp</span></li>
  </ul>
 </div>


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