<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.datetime.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'tr',
  ),
  'this' => 
  array (
    0 => 'datetime.settime.php',
    1 => 'DateTime::setTime',
    2 => 'Sets the time',
  ),
  'up' => 
  array (
    0 => 'class.datetime.php',
    1 => 'DateTime',
  ),
  'prev' => 
  array (
    0 => 'datetime.setisodate.php',
    1 => 'DateTime::setISODate',
  ),
  'next' => 
  array (
    0 => 'datetime.settimestamp.php',
    1 => 'DateTime::setTimestamp',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/datetime/datetime/settime.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="datetime.settime" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">DateTime::setTime</h1>
  <h1 class="refname">date_time_set</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.2.0, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">DateTime::setTime</span> -- <span class="refname">date_time_set</span> &mdash; <span class="dc-title">Sets the time</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-datetime.settime-description">
  <h3 class="title">Açıklama</h3>
  <p class="para">Nesne yönelimli kullanım</p>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>DateTime::setTime</strong></span>(<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$hour</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$minute</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$second</code><span class="initializer"> = 0</span></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$microsecond</code><span class="initializer"> = 0</span></span><br>): <span class="type"><a href="class.datetime.php" class="type DateTime">DateTime</a></span></div>

  <p class="para rdfs-comment">Yordamsal kullanım</p>
  <div class="methodsynopsis dc-description"><span class="methodname"><a href="function.date-time-set.php" class="methodname">date_time_set</a></span>(<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="class.datetime.php" class="type DateTime">DateTime</a></span> <code class="parameter">$object</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$hour</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$minute</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$second</code><span class="initializer"> = 0</span></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$microsecond</code><span class="initializer"> = 0</span></span><br>): <span class="type"><a href="class.datetime.php" class="type DateTime">DateTime</a></span></div>

  <p class="para rdfs-comment">
   Resets the current time of the DateTime object to a different time.
  </p>
  <p class="para">
   Like <span class="methodname"><a href="datetimeimmutable.settime.php" class="methodname">DateTimeImmutable::setTime()</a></span> but works with
   <span class="classname"><a href="class.datetime.php" class="classname">DateTime</a></span>.
  </p>
  <p class="para">
   The procedural version takes the <span class="classname"><a href="class.datetime.php" class="classname">DateTime</a></span> object as
   its first argument.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-datetime.settime-parameters">
  <h3 class="title">Bağımsız Değişkenler</h3>
  <dl>
   
<dt><code class="parameter">nesne</code></dt>
<dd><p class="para">Sadece yordamsal tarz: <span class="function"><a href="function.date-create.php" class="function">date_create()</a></span>
tarafından bir <span class="classname"><a href="class.datetime.php" class="classname">DateTime</a></span> nesnesi döndürülür. İşlev
bu nesnede değişiklik yapar.</p></dd>
   
    <dt><code class="parameter">hour</code></dt>
    <dd>
     <p class="para">
      Hour of the time.
     </p>
    </dd>
   
   
    <dt><code class="parameter">minute</code></dt>
    <dd>
     <p class="para">
      Minute of the time.
     </p>
    </dd>
   
   
    <dt><code class="parameter">second</code></dt>
    <dd>
     <p class="para">
      Second of the time.
     </p>
    </dd>
   
   
    <dt><code class="parameter">microsecond</code></dt>
    <dd>
     <p class="para">
      Microsecond of the time.
     </p>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-datetime.settime-returnvalues">
  <h3 class="title">Dönen Değerler</h3>
  <p class="para">
   Yöntem zincirleme için değişmiş
<span class="classname"><a href="class.datetime.php" class="classname">DateTime</a></span> nesnesi
döner.
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-datetime.settime-changelog">
  <h3 class="title">Sürüm Bilgisi</h3>
  <table class="doctable informaltable">
   
    <thead>
     <tr>
      <th>Sürüm: </th>
      <th>Açıklama</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
      <td>8.1.0</td>
      <td>The behaviour with double existing hours (during the fall-back
      DST transition) changed. Previously PHP would pick the second occurrence
      (after the DST transition), instead of the first occurrence (before DST
       transition).</td>
     </tr>

     <tr>
      <td>7.1.0</td>
      <td>The <code class="parameter">microsecond</code> parameter was added.</td>
     </tr>

    </tbody>
   
  </table>

 </div>


 <div class="refsect1 seealso" id="refsect1-datetime.settime-seealso">
  <h3 class="title">Ayrıca Bakınız</h3>
  <ul class="simplelist">
   <li><span class="function"><a href="datetimeimmutable.settime.php" class="function" rel="rdfs-seeAlso">DateTimeImmutable::setTime()</a> - Sets the time</span></li>
  </ul>
 </div>

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