|
Posted by Andy Hassall on 04/01/07 15:56
On Sun, 01 Apr 2007 03:13:08 GMT, Denis McMahon <denis.mcmahon@ntlworld.com>
wrote:
>I'm assuming that in php.ini, date.default_latitude is +ve North of the
>equator and -ve South, but what about date.default_longitude?
>
>-ve West and +ve East of Greenwich? or vice-versa?
>
>I know that convention seems to be -ve West and +ve East, but as far as
>I can tell it's not covered in the manuals at php.net under either date
>& time functions or php.ini
You have to dig down a couple of levels to find:
http://uk.php.net/date_sunset
date_sunset Returns time of sunset for a given day and location
....
longitude
Defaults to East, pass in a negative value for West. See also:
date.default_longitude
--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
[Back to original message]
|