1
0
mirror of https://github.com/php/doc-tr.git synced 2026-03-24 15:22:23 +01:00
Files
2022-09-01 17:27:35 +03:00

105 lines
2.4 KiB
XML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 5c951013ca04161992efed8b86fb40f55669958e Maintainer: behzat Status: ready -->
<refentry xml:id="function.time" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>time</refname>
<refpurpose>Geçerli Unix zaman damgasını döndürür</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>int</type><methodname>time</methodname>
<void/>
</methodsynopsis>
<para>
Unix Zaman Başlangıcından (1 Ocak 1970 00:00:00 GMT) itibaren geçen zamanı
saniye cinsinden döndürür.
</para>
<note>
<para>
Unix zaman damgaları yerel zaman dilimi hakkında herhangi bir bilgi
içermez. Tarih ve saat bilgilerini işlerken Unix zaman damgalarından
kaynaklanan böyle tehlikelerden kaçınmak için
<classname>DateTimeImmutable</classname> sınıfının kullanılması önerilir.
</para>
</note>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
&no.function.parameters;
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Geçerli zaman damgasını döndürür.
</para>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>- <function>time</function> örneği</title>
<programlisting role="php">
<![CDATA[
<?php
echo 'Şimdi: '. time();
?>
]]>
</programlisting>
&example.outputs.similar;
<screen>
<![CDATA[
Şimdi: 1660338149
]]>
</screen>
</example>
</para>
</refsect1>
<refsect1 role="notes">
&reftitle.notes;
<tip>
<para>
İstek başlangıç zaman damgası
<varname>$_SERVER['REQUEST_TIME']</varname> değişkenine atanır.
</para>
</tip>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><classname>DateTimeImmutable</classname></member>
<member><function>date</function></member>
<member><function>microtime</function></member>
</simplelist>
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->