Re: [PHP] Sunset/Sunrise

2012-03-20 Thread Andrew Ballard
On Tue, Mar 20, 2012 at 6:00 PM, Tedd Sperling wrote: > That's what I get for not checking it myself. I was assured by one of my > students that was our correct lat/long. Boy, will he hear from me -- he's > going to find his next assignment in China. :-) > > Thanks, > > tedd That's the spirit!

Re: [PHP] Sunset/Sunrise

2012-03-20 Thread Tedd Sperling
On Mar 20, 2012, at 9:50 AM, Andrew Ballard wrote: > On Tue, Mar 20, 2012 at 9:23 AM, Tedd Sperling > wrote: >> Hi gang: >> >> What's wrong with this? >> >> echo date("D M d Y"). ', sunrise time : ' .date_sunrise(time(), >> SUNFUNCS_RET_STRING, 42.57, 84.3320, 90, -5); >> echo(''); >> echo da

Re: [PHP] Sunset/Sunrise

2012-03-20 Thread Andrew Ballard
On Tue, Mar 20, 2012 at 9:23 AM, Tedd Sperling wrote: > Hi gang: > > What's wrong with this? > > echo date("D M d Y"). ', sunrise time : ' .date_sunrise(time(), > SUNFUNCS_RET_STRING, 42.57, 84.3320, 90, -5); > echo(''); > echo date("D M d Y"). ', sunset time : ' .date_sunset(time(), > SUNFUNCS_

[PHP] Sunset/Sunrise

2012-03-20 Thread Tedd Sperling
Hi gang: What's wrong with this? echo date("D M d Y"). ', sunrise time : ' .date_sunrise(time(), SUNFUNCS_RET_STRING, 42.57, 84.3320, 90, -5); echo(''); echo date("D M d Y"). ', sunset time : ' .date_sunset(time(), SUNFUNCS_RET_STRING, 42.57, 84.3320, 90, -5); It gives exactly the wrong time -