<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.info.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'it',
  ),
  'this' => 
  array (
    0 => 'function.getlastmod.php',
    1 => 'getlastmod',
    2 => 'Restituisce la data dell\'ultima modifica alla pagina',
  ),
  'up' => 
  array (
    0 => 'ref.info.php',
    1 => 'PHP Options/Info Funzioni',
  ),
  'prev' => 
  array (
    0 => 'function.getenv.php',
    1 => 'getenv',
  ),
  'next' => 
  array (
    0 => 'function.getmygid.php',
    1 => 'getmygid',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'it',
    'path' => 'reference/info/functions/getlastmod.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.getlastmod" class="refentry">
   <div class="refnamediv">
    <h1 class="refname">getlastmod</h1>
    <p class="verinfo">(PHP 4, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">getlastmod</span> &mdash; <span class="dc-title">Restituisce la data dell&#039;ultima modifica alla pagina</span></p>

   </div>
   <div class="refsect1 unknown-70" id="refsect1-function.getlastmod-unknown-70">
    <h3 class="title">Descrizione</h3>
     <div class="methodsynopsis dc-description">
      <span class="methodname"><strong>getlastmod</strong></span>(): <span class="type"><a href="language.types.integer.php" class="type int">int</a></span></div>

    <p class="para rdfs-comment">
     Restituisce la data dell&#039;ultima modifica alla pagina
     corrente. Il valore restituito è un timestamp, può essere
     elaborato con la funzione <span class="function"><a href="function.date.php" class="function">date()</a></span>. Restituisce <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> su errore.
    </p>
    <p class="para">
     <div class="example" id="example-1">
      <p><strong>Example #1 Esempio di uso di <span class="function"><strong>getlastmod()</strong></span></strong></p>
      <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br /></span><span style="color: #FF8000">// outputs e.g. 'Last modified: March 04 1998 20:43:59.'<br /></span><span style="color: #007700">echo </span><span style="color: #DD0000">"Last modified: " </span><span style="color: #007700">. </span><span style="color: #0000BB">date </span><span style="color: #007700">(</span><span style="color: #DD0000">"F d Y H:i:s."</span><span style="color: #007700">, </span><span style="color: #0000BB">getlastmod</span><span style="color: #007700">());<br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
      </div>

     </div>
    </p>
    <blockquote class="note"><p><strong class="note">Nota</strong>: 
     <span class="simpara">
      Se si è interessati ad avere la data dell&#039;ultima modifica di 
      un&#039;altro file, si consideri l&#039;uso di <span class="function"><a href="function.filemtime.php" class="function">filemtime()</a></span>.
     </span>
    </p></blockquote>
    <p class="para">
     Vedere anche
     <span class="function"><a href="function.date.php" class="function">date()</a></span>,
     <span class="function"><a href="function.getmyuid.php" class="function">getmyuid()</a></span>, 
     <span class="function"><a href="function.getmygid.php" class="function">getmygid()</a></span>,
     <span class="function"><a href="function.get-current-user.php" class="function">get_current_user()</a></span>,
     <span class="function"><a href="function.getmyinode.php" class="function">getmyinode()</a></span>,
     <span class="function"><a href="function.getmypid.php" class="function">getmypid()</a></span> e
     <span class="function"><a href="function.filemtime.php" class="function">filemtime()</a></span>.
    </p>
   </div>

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