2005-07-30 18:14:12 +00:00
|
|
|
<?xml version='1.0' encoding='iso-8859-1'?>
|
2006-06-08 10:44:15 +00:00
|
|
|
<!-- $Revision: 1.8 $ -->
|
2005-07-30 18:14:12 +00:00
|
|
|
<section id="datetime.constants">
|
|
|
|
&reftitle.constants;
|
|
|
|
<para>
|
2005-11-29 09:25:12 +00:00
|
|
|
The following constants are defined since PHP 5.1.1 and they offer standard
|
2005-07-30 18:14:12 +00:00
|
|
|
date representations, which can be used along with the date format functions
|
2005-11-29 09:25:12 +00:00
|
|
|
(like <function>date</function>).
|
2005-07-30 18:14:12 +00:00
|
|
|
</para>
|
|
|
|
<variablelist>
|
|
|
|
<varlistentry>
|
|
|
|
<term>
|
2005-11-29 09:25:12 +00:00
|
|
|
<constant>DATE_ATOM</constant>
|
2005-07-30 18:14:12 +00:00
|
|
|
(<type>string</type>)
|
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2006-01-31 21:10:31 +00:00
|
|
|
Atom (example: 2005-08-15T15:52:01+00:00)
|
2005-07-30 18:14:12 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term>
|
2005-11-29 09:25:12 +00:00
|
|
|
<constant>DATE_COOKIE</constant>
|
2005-07-30 18:14:12 +00:00
|
|
|
(<type>string</type>)
|
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2006-06-08 10:44:15 +00:00
|
|
|
HTTP Cookies (example: Monday, 15-Aug-05 15:52:01 UTC)
|
2005-07-30 18:14:12 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term>
|
2005-11-29 09:25:12 +00:00
|
|
|
<constant>DATE_ISO8601</constant>
|
2005-07-30 18:14:12 +00:00
|
|
|
(<type>string</type>)
|
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2005-08-15 16:01:08 +00:00
|
|
|
ISO-8601 (example: 2005-08-15T15:52:01+0000)
|
2005-07-30 18:14:12 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term>
|
2005-11-29 09:25:12 +00:00
|
|
|
<constant>DATE_RFC822</constant>
|
2005-07-30 18:14:12 +00:00
|
|
|
(<type>string</type>)
|
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2006-06-08 10:44:15 +00:00
|
|
|
RFC 822 (example: Mon, 15 Aug 05 15:52:01 +0000)
|
2005-07-30 18:14:12 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term>
|
2005-11-29 09:25:12 +00:00
|
|
|
<constant>DATE_RFC850</constant>
|
2005-07-30 18:14:12 +00:00
|
|
|
(<type>string</type>)
|
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2005-08-15 16:01:08 +00:00
|
|
|
RFC 850 (example: Monday, 15-Aug-05 15:52:01 UTC)
|
2005-07-30 18:14:12 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term>
|
2005-11-29 09:25:12 +00:00
|
|
|
<constant>DATE_RFC1036</constant>
|
2005-07-30 18:14:12 +00:00
|
|
|
(<type>string</type>)
|
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2006-06-08 10:44:15 +00:00
|
|
|
RFC 1036 (example: Mon, 15 Aug 05 15:52:01 +0000)
|
2005-07-30 18:14:12 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term>
|
2005-11-29 09:25:12 +00:00
|
|
|
<constant>DATE_RFC1123</constant>
|
2005-07-30 18:14:12 +00:00
|
|
|
(<type>string</type>)
|
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2006-06-08 10:44:15 +00:00
|
|
|
RFC 1123 (example: Mon, 15 Aug 2005 15:52:01 +0000)
|
2005-07-30 18:14:12 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term>
|
2005-11-29 09:25:12 +00:00
|
|
|
<constant>DATE_RFC2822</constant>
|
2005-07-30 18:14:12 +00:00
|
|
|
(<type>string</type>)
|
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2005-08-15 16:01:08 +00:00
|
|
|
RFC 2822 (Mon, 15 Aug 2005 15:52:01 +0000)
|
2005-07-30 18:14:12 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term>
|
2005-11-29 09:25:12 +00:00
|
|
|
<constant>DATE_RSS</constant>
|
2005-07-30 18:14:12 +00:00
|
|
|
(<type>string</type>)
|
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2006-06-08 10:44:15 +00:00
|
|
|
RSS (Mon, 15 Aug 2005 15:52:01 +0000)
|
2005-07-30 18:14:12 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term>
|
2005-11-29 09:25:12 +00:00
|
|
|
<constant>DATE_W3C</constant>
|
2005-07-30 18:14:12 +00:00
|
|
|
(<type>string</type>)
|
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2006-03-06 22:58:51 +00:00
|
|
|
World Wide Web Consortium (example: 2005-08-15T15:52:01+00:00)
|
2005-07-30 18:14:12 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<!-- 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:"../../../../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
|
|
|
|
-->
|