PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

List of Supported Timezones> <Tipos de recursos
Last updated: Fri, 22 Aug 2008

view this page in

Constantes predefinidas

Las siguientes constantes están definidas desde PHP 5.1.1 y ofrecen representaciones de fecha estándar, que pueden ser usadas junto con las funciones de formato de fechas (como date()).

DATE_ATOM (string)
Átomo (ejemplo: 2005-08-15T15:52:01+00:00)
DATE_COOKIE (string)
Cookies HTTP (ejemplo: Monday, 15-Aug-05 15:52:01 UTC)
DATE_ISO8601 (string)
ISO-8601 (ejemplo: 2005-08-15T15:52:01+0000)
DATE_RFC822 (string)
RFC 822 (ejemplo: Mon, 15 Aug 05 15:52:01 +0000)
DATE_RFC850 (string)
RFC 850 (ejemplo: Monday, 15-Aug-05 15:52:01 UTC)
DATE_RFC1036 (string)
RFC 1036 (ejemplo: Mon, 15 Aug 05 15:52:01 +0000)
DATE_RFC1123 (string)
RFC 1123 (ejemplo: Mon, 15 Aug 2005 15:52:01 +0000)
DATE_RFC2822 (string)
RFC 2822 (Mon, 15 Aug 2005 15:52:01 +0000)
DATE_RFC3339 (string)
Igual que DATE_ATOM (desde PHP 5.1.3)
DATE_RSS (string)
RSS (Mon, 15 Aug 2005 15:52:01 +0000)
DATE_W3C (string)
Consorcio World Wide Web (ejemplo: 2005-08-15T15:52:01+00:00)

Las siguientes constantes existen desde PHP 5.1.2 y especifican un formato devuelto por las funciones date_sunrise() y date_sunset().

SUNFUNCS_RET_TIMESTAMP (integer)
Marca de tiempo
SUNFUNCS_RET_STRING (integer)
Horas:minutos (ejemplo: 08:02)
SUNFUNCS_RET_DOUBLE (integer)
Horas como un número de punto flotante (ejemplo 8.75)


add a note add a note User Contributed Notes
Constantes predefinidas
There are no user contributed notes for this page.

List of Supported Timezones> <Tipos de recursos
Last updated: Fri, 22 Aug 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites