XVII. Date and Time Functions

Uvod

These functions allow you to get the date and time from the server where your PHP scripts are running. You can use these functions to format the date and time in many different ways.

Opomba: Please keep in mind that these functions are dependent on the locale settings of your server. Make sure to take daylight saving time and leap years into consideration when working with these functions.

Zahteve

Te funkcije so na voljo znotraj standardnega modula, ki je vedno na voljo.

Namestitev

Te funkcije ne potrebujejo namestitve, saj so del jedra PHP.

Nastavitve

Ta razširitev ne določa nastavitvenih direktiv.

Tipi sredstev

Ta razširitev ne določa nobenega tipa sredstev.

Predefinirane konstante

Ta razširitev ne definira nobene konstante.

Kazalo
checkdate -- Validate a Gregorian date
date -- Format a local time/date
getdate -- Get date/time information
gettimeofday -- Get current time
gmdate -- Format a GMT/UTC date/time
gmmktime -- Get Unix timestamp for a GMT date
gmstrftime --  Format a GMT/UTC time/date according to locale settings
idate --  Format a local time/date as integer
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