mirror of
https://github.com/php/doc-es.git
synced 2026-04-24 23:58:06 +02:00
f4c8f3751e
git-svn-id: https://svn.php.net/repository/phpdoc/es/trunk@297082 c90b9560-bf6c-de11-be94-00142212c4b1
74 lines
1.9 KiB
XML
74 lines
1.9 KiB
XML
<?xml version='1.0' encoding="utf-8"?>
|
|
<!-- $Revision: 288721 $ -->
|
|
<!-- EN-Revision: 2fd3f0c96d9d221fe37109775af4df4cf949d5d8 Maintainer: seros Status: ready -->
|
|
<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 usadas por las funciones de formato de fecha
|
|
(como <function>date</function>).
|
|
</para>
|
|
<para>
|
|
Las siguientes constantes existen desde PHP 5.1.2 y especifican un formato devuelvto por
|
|
las funciones <function>date_sunrise</function> y
|
|
<function>date_sunset</function>.
|
|
</para>
|
|
<variablelist>
|
|
<varlistentry>
|
|
<term>
|
|
<constant>SUNFUNCS_RET_TIMESTAMP</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Marca de tiempo (timestamp)
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term>
|
|
<constant>SUNFUNCS_RET_STRING</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Horas:minutos (ejemplo: 08:02)
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<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
|
|
-->
|