date_sunrise(PHP 5) date_sunrise — Returns time of sunrise for a given day and location Описание
mixed date_sunrise
( int $timestamp
[, int $format
[, float $latitude
[, float $longitude
[, float $zenith
[, float $gmt_offset
]]]]] )
date_sunrise() returns the sunrise time for a given day (specified as a timestamp ) and location. Список параметров
Возвращаемые значенияReturns the sunrise time in a specified format on success, or FALSE on failure. Errors/ExceptionsEvery call to a date/time function will generate a E_NOTICE if the time zone is not valid, and/or a E_STRICT message if using the system settings or the TZ environment variable. See also date_default_timezone_set() Список изменений
Примеры
Пример #1 date_sunrise() example
<?phpРезультатом выполнения данного примера будет что-то подобное:
|
|
|
| © 2009 Тест скорости интернета | Boont.Ru |