XVIII. Date and Time functions

Introdução

You can use this functions to handle date and time. This functions allow you to get date and time from the server where PHP is running on. You can use this functions to format the output of date and time in many different ways.

Nota: Please keep in mind that this functions are depending on the locale settings of your server. Especially consider daylight saving time settings and leap years.

Requisitos

Estas funções são disponibilizadas como parte de um módulo padrão, e estão sempre disponíveis.

Instalação

Não há nenhuma instalação nescessária para utilizar estas funções, elas fazem parte do núcleo do PHP.

Configuração durante execução

Esta extenção não define nenhum parametro de configuração.

Tipos Resource

Esta extensão não define nenhum tipo resource.

Constantes Predefinidas

Esta extensão não define nenhuma constante.

Índice
checkdate -- Validate a gregorian date/time
date -- Format a local time/date
getdate -- Get date/time information
gettimeofday -- Get current time
gmdate -- Format a GMT/CUT date/time
gmmktime -- Get UNIX timestamp for a GMT date
gmstrftime --  Format a GMT/CUT time/date according to locale settings
localtime -- Get the local time
microtime --  Return current UNIX timestamp with microseconds
mktime -- Get UNIX timestamp for a date
strftime --  Format a local time/date according to locale settings
strtotime --  Parse about any English textual datetime description into a UNIX timestamp
time -- Return current UNIX timestamp