date_sunrise()

php.internals

Kevin Waterson

23 years ago
I wish to get a grasp of date sunrise and I am using Sydney Australia as an example.. The only info I can grasp is it takes the format of.. date_sunrise(mixed time [, int format [, float latitude [, float longitude [, float zenith [, float gmt_offset]]]]]) What formats are available in int format? How do I express a latitude of 33°56' S as a float? What is the zenith value? hoping Moshe will see this Kind regards kevin
-- ______ (_____ \ _____) ) ____ ____ ____ ____ | ____/ / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \____) \_||_| \____) \____) Kevin Waterson Port Macquarie, Australia

moshe doron

23 years ago
"Kevin Waterson" <kevin@oceania.net> wrote in message news:20030522001926.47d893c5.kevin@oceania.net... I wish to get a grasp of date sunrise and I am using Sydney Australia as an example.. The only info I can grasp is it takes the format of.. date_sunrise(mixed time [, int format [, float latitude [, float longitude [, float zenith [, float gmt_offset]]]]]) What formats are available in int format? SUNFUNCS_RET_TIMESTAMP, SUNFUNCS_RET_STRING, SUNFUNCS_RET_DOUBLE How do I express a latitude of 33°56' S as a float? 33+56/60 What is the zenith value? azimuth to the center of the sun. 90.83 say u start to c the first linear sunshine. docs coming soon. moshe.

Kevin Waterson

23 years ago
This one time, at band camp, "moshe doron" <mosdoron@netvision.net.il> wrote:
> What is the zenith value? > azimuth to the center of the sun. 90.83 say u start to c the first linear > sunshine.
I keep getting this error when I use a unix timestamp. Warning: date_sunrise(): date must be timestamp for now Kevin
-- ______ (_____ \ _____) ) ____ ____ ____ ____ | ____/ / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \____) \_||_| \____) \____) Kevin Waterson Port Macquarie, Australia

moshe doron

23 years ago
"Kevin Waterson" <kevin@oceania.net> wrote in message news:20030522090127.5cee67af.kevin@oceania.net...
> This one time, at band camp, "moshe doron" <mosdoron@netvision.net.il> wrote: > > > > What is the zenith value? > > azimuth to the center of the sun. 90.83 say u start to c the first linear > > sunshine. > > > I keep getting this error when I use a unix timestamp. > Warning: date_sunrise(): date must be timestamp for now >
i'll be happy to help u but here, the internals group, is not the right place doing it. just send me *privatly* (u may want ccing the general group) the code u used.
-- moshe