<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.datetimezone.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'it',
  ),
  'this' => 
  array (
    0 => 'datetimezone.getname.php',
    1 => 'DateTimeZone::getName',
    2 => 'Returns the name of the timezone',
  ),
  'up' => 
  array (
    0 => 'class.datetimezone.php',
    1 => 'DateTimeZone',
  ),
  'prev' => 
  array (
    0 => 'datetimezone.getlocation.php',
    1 => 'DateTimeZone::getLocation',
  ),
  'next' => 
  array (
    0 => 'datetimezone.getoffset.php',
    1 => 'DateTimeZone::getOffset',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/datetime/datetimezone/getname.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="datetimezone.getname" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">DateTimeZone::getName</h1>
  <h1 class="refname">timezone_name_get</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.2.0, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">DateTimeZone::getName</span> -- <span class="refname">timezone_name_get</span> &mdash; <span class="dc-title">Returns the name of the timezone</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-datetimezone.getname-description">
  <h3 class="title">Descrizione</h3>
  <p class="para">Stile orientato agli oggetti</p>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>DateTimeZone::getName</strong></span>(): <span class="type"><a href="language.types.string.php" class="type string">string</a></span></div>

  <p class="para rdfs-comment">Stile procedurale</p>
  <div class="methodsynopsis dc-description"><span class="methodname"><a href="function.timezone-name-get.php" class="methodname">timezone_name_get</a></span>(<span class="methodparam"><span class="type"><a href="class.datetimezone.php" class="type DateTimeZone">DateTimeZone</a></span> <code class="parameter">$object</code></span>): <span class="type"><a href="language.types.string.php" class="type string">string</a></span></div>

  <p class="para rdfs-comment">
   Returns the name of the timezone.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-datetimezone.getname-parameters">
  <h3 class="title">Elenco dei parametri</h3>
  <dl>
   
    <dt><code class="parameter">object</code></dt>
    <dd>
     <p class="para">
      The <span class="classname"><a href="class.datetimezone.php" class="classname">DateTimeZone</a></span> for which to get a name.
     </p>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-datetimezone.getname-returnvalues">
  <h3 class="title">Valori restituiti</h3>
  <p class="para">
   Depending on zone type, UTC offset (type 1), timezone abbreviation (type
   2), and timezone identifiers as published in the IANA timezone database
   (type 3), the descriptor string to create a new
   <span class="classname"><a href="class.datetimezone.php" class="classname">DateTimeZone</a></span> object with the same offset and/or
   rules. For example <code class="literal">02:00</code>, <code class="literal">CEST</code>, or
   one of the timezone names in the <a href="timezones.php" class="link">list of
   timezones</a>.
  </p>
 </div>


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