<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.com.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'uk',
  ),
  'this' => 
  array (
    0 => 'function.variant-date-from-timestamp.php',
    1 => 'variant_date_from_timestamp',
    2 => 'Returns a variant date representation of a Unix timestamp',
  ),
  'up' => 
  array (
    0 => 'ref.com.php',
    1 => 'COM Функції',
  ),
  'prev' => 
  array (
    0 => 'function.variant-cmp.php',
    1 => 'variant_cmp',
  ),
  'next' => 
  array (
    0 => 'function.variant-date-to-timestamp.php',
    1 => 'variant_date_to_timestamp',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/com/functions/variant-date-from-timestamp.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.variant-date-from-timestamp" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">variant_date_from_timestamp</h1>
  <p class="verinfo">(PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">variant_date_from_timestamp</span> &mdash; <span class="dc-title">Returns a variant date representation of a Unix timestamp</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.variant-date-from-timestamp-description">
  <h3 class="title">Опис</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>variant_date_from_timestamp</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$timestamp</code></span>): <span class="type"><a href="class.variant.php" class="type variant">variant</a></span></div>

  <p class="para rdfs-comment">
   Converts <code class="parameter">timestamp</code> from a unix timestamp value
   into a variant of type <strong><code><a href="com.constants.php#constant.vt-date">VT_DATE</a></code></strong>.  This allows easier
   interopability between the unix-ish parts of PHP and COM.
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-function.variant-date-from-timestamp-parameters">
  <h3 class="title">Параметри</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">timestamp</code></dt>
     <dd>
      <p class="para">
       A unix timestamp.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.variant-date-from-timestamp-returnvalues">
  <h3 class="title">Значення, що повертаються</h3>
  <p class="para">
   Returns a <strong><code><a href="com.constants.php#constant.vt-date">VT_DATE</a></code></strong> variant.
  </p>
 </div>

 <div class="refsect1 seealso" id="refsect1-function.variant-date-from-timestamp-seealso">
  <h3 class="title">Прогляньте також</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.variant-date-to-timestamp.php" class="function" rel="rdfs-seeAlso">variant_date_to_timestamp()</a> - Converts a variant date/time value to Unix timestamp</span></li>
    <li><span class="function"><a href="function.mktime.php" class="function" rel="rdfs-seeAlso">mktime()</a> - Get Unix timestamp for a date</span></li>
    <li><span class="function"><a href="function.time.php" class="function" rel="rdfs-seeAlso">time()</a> - Return current Unix timestamp</span></li>
   </ul>
  </p>
 </div>

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