# date_sunrise()

- Thread: https://externals.io/message/1851
- Original archive: https://news-web.php.net/php.internals/1851
- Started by Kevin Waterson on 2003-05-21T14:19:26+00:00
- Messages: 3
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #1851 — Kevin Waterson — 2003-05-21T14:19:26+00:00

URL: https://externals.io/message/1851#1851

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

---

## #1873 — Kevin Waterson — 2003-05-21T23:01:27+00:00

URL: https://externals.io/message/1851#1873

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

---

## #1878 — moshe doron — 2003-05-22T10:16:40+00:00

URL: https://externals.io/message/1851#1878 · In reply to: #1873

"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:
> 
>  
> > […]
> 
> 
> 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
