Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Feb 2004
    Posts
    21
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Problems with PHP sunrise function

    I'm using the sunrise function pretty much as per the manual.

    PHP Code:
    echo "<font size='-4'>".date_sunrise(time(), SUNFUNCS_RET_STRING, -28.0361148.58149010) ."</font>"
    But, the time it returns is 29.13, where actual sunrise is 5.13.

    My server is on PST time (GMT -8) and I want sunrise for GMT +10.

    It can be viewed at http://www.maranoa.org.au/xoops/index.php.

    My questions are:
    how do I fix it?
    Some people say they see it OK - as in 5.13. Why is that?
    Look forward to your reply.

  • #2
    New Coder
    Join Date
    Feb 2004
    Posts
    21
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Bump!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •