getdate

(PHP 4, PHP 5, PHP 7) Get date/time information array getdate ([ int $timestamp = time() ] ) Returns an associative array containing the date information of the timestamp, or the current local time if no timestamp is given. Parameters: timestamp The optional timestamp parameter is an integer Unix timestamp that defaults to the current local time if a timestamp is not giv

gettimeofday

(PHP 4, PHP 5, PHP 7) Get current time mixed gettimeofday ([ bool $return_float = false ] ) This is an interface to gettimeofday(2). It returns an associative array containing the data returned from the system call. Parameters: return_float When set to TRUE, a float instead of an array is returned. Returns: By default an array is returned. If re

date_timestamp_set

(PHP 5 >= 5.3.0, PHP 7) Alias of DateTime::setTimestamp() This function is an alias of: DateTime::setTimestamp()

date_timestamp_get

(PHP 5 >= 5.3.0, PHP 7) Alias of DateTime::getTimestamp() This function is an alias of: DateTime::getTimestamp()

date_timezone_get

(PHP 5 >= 5.2.0, PHP 7) Alias of DateTime::getTimezone() This function is an alias of: DateTime::getTimezone()

date

(PHP 4, PHP 5, PHP 7) Format a local time/date string date ( string $format [, int $timestamp = time() ] ) Returns a string formatted according to the given format string using the given integer timestamp or the current time if no timestamp is given. In other words, timestamp is optional and defaults to the value of time(). Parameters: format The format of the outputted

date_timezone_set

(PHP 5 >= 5.2.0, PHP 7) Alias of DateTime::setTimezone() This function is an alias of: DateTime::setTimezone()

date_time_set

(PHP 5 >= 5.2.0, PHP 7) Alias of DateTime::setTime() This function is an alias of: DateTime::setTime()

date_sunset

(PHP 5, PHP 7) Returns time of sunset for a given day and location mixed date_sunset ( int $timestamp [, int $format = SUNFUNCS_RET_STRING [, float $latitude = ini_get("date.default_latitude") [, float $longitude = ini_get("date.default_longitude") [, float $zenith = ini_get("date.sunset_zenith") [, float $gmt_offset = 0 ]]]]] ) date_sunset() returns the sunset time for a given day (specified as a timestamp) and locat

date_sunrise

(PHP 5, PHP 7) Returns time of sunrise for a given day and location mixed date_sunrise ( int $timestamp [, int $format = SUNFUNCS_RET_STRING [, float $latitude = ini_get("date.default_latitude") [, float $longitude = ini_get("date.default_longitude") [, float $zenith = ini_get("date.sunrise_zenith") [, float $gmt_offset = 0 ]]]]] ) date_sunrise() returns the sunrise time for a given day (specified as a timestamp) and lo