Reply to Re: php.ini => date.default_longitude, +ve east or west?

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация