mirror of
https://github.com/php/doc-es.git
synced 2026-03-25 16:02:13 +01:00
git-svn-id: https://svn.php.net/repository/phpdoc/es/trunk@337933 c90b9560-bf6c-de11-be94-00142212c4b1
75 lines
2.0 KiB
XML
75 lines
2.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<!-- EN-Revision: 14af302c9c0e561fa6f9cdd956268758ba9a89c5 Maintainer: seros Status: ready -->
|
|
<!-- Reviewed: yes Maintainer: seros -->
|
|
<appendix xml:id="datetime.constants" xmlns="http://docbook.org/ns/docbook">
|
|
&reftitle.constants;
|
|
<para>
|
|
Las <link linkend="datetime.constants.types">contantes <literal>DATE_</literal>
|
|
</link> están definidas desde PHP 5.1.1 y ofrecen representaciones de fecha
|
|
estándar que pueden ser empleadas por funciones de formato de fecha
|
|
(como <function>date</function>).
|
|
</para>
|
|
<para>
|
|
Las siguientes constantes existen desde PHP 5.1.2 y especifican un formato devuelto por
|
|
las funciones <function>date_sunrise</function> y
|
|
<function>date_sunset</function>.
|
|
</para>
|
|
<variablelist>
|
|
<varlistentry xml:id="constant.sunfuncs-ret-timestamp">
|
|
<term>
|
|
<constant>SUNFUNCS_RET_TIMESTAMP</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Marca temporal
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sunfuncs-ret-string">
|
|
<term>
|
|
<constant>SUNFUNCS_RET_STRING</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Horas:minutos (ejemplo: 08:02)
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.sunfuncs-ret-double">
|
|
<term>
|
|
<constant>SUNFUNCS_RET_DOUBLE</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Horas como número de coma flotante (ejemplo 8.75)
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</appendix>
|
|
|
|
<!-- 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
|
|
-->
|