Calendar and Event Related Extensions
Introducción
Calendar and Event Related Extensions
PHP Manual
Date and Time
Introducción
Installing/Configuring
Instalación
Configuración en tiempo de ejecución
Tipos de recursos
Constantes predefinidas
Date/Time
— Date and Time Functions
checkdate
— Vaidar una fecha Gregoriana
date_create
— Returns new DateTime object
date_date_set
— Sets the date
date_default_timezone_get
— Gets the default timezone used by all date/time functions in a script
date_default_timezone_set
— Sets the default timezone used by all date/time functions in a script
date_format
— Returns date formatted according to given format
date_isodate_set
— Sets the ISO date
date_modify
— Alters the timestamp
date_offset_get
— Returns the daylight saving time offset
date_parse
— Returns associative array with detailed info about given date
date_sun_info
— Returns an array with information about sunset/sunrise and twilight begin/end
date_sunrise
— Obtiene la hora del amanecer de un día y lugar concretos
date_sunset
— Obtiene la hora del atardecer de un día y lugar concretos
date_time_set
— Sets the time
date_timezone_get
— Return time zone relative to given DateTime
date_timezone_set
— Sets the time zone for the DateTime object
date
— Dar formato a una hora/fecha local
getdate
— Obtiene información de fecha/hora
gettimeofday
— Obtiene la hora actual
gmdate
— Dar formato a una fecha/hora GMT/UTC
gmmktime
— Obtiene la marca de tiempo Unix para una fecha GMT
gmstrftime
— Dar formato a una hora/fecha GMT/UTC de acuerdo a parámetros de la localidad
idate
— Formatea la fecha/hora local como un número entero
localtime
— Obtener la hora local
microtime
— Devuelve la marca de tiempo Unix actual con micro-segundos
mktime
— Obtener la marca de tiempo Unix de una fecha
strftime
— Dar formato a una hora/fecha local de acuerdo a valores de localidad
strptime
— Manipula la hora/fecha obtenida mediante strftime
strtotime
— Procesar cualquier descripción textual de fecha/hora en Inglés convirtiéndola en una timestamp de UNIX.
time
— Devuelve la marca de tiempo Unix actual
timezone_abbreviations_list
— Returns associative array containing dst, offset and the timezone name
timezone_identifiers_list
— Returns numerically index array with all timezone identifiers
timezone_name_from_abbr
— Returns the timezone name from abbrevation
timezone_name_get
— Returns the name of the timezone
timezone_offset_get
— Returns the timezone offset from GMT
timezone_open
— Returns new DateTimeZone object
timezone_transitions_get
— Returns all transitions for the timezone
Calendar and Event Related Extensions
Introducción
Calendar and Event Related Extensions
PHP Manual