php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12589 juliantojd () returns incorrect JD
Submitted: 2001-08-06 07:22 UTC Modified: 2001-08-06 07:29 UTC
From: kovi at hms dot hu Assigned:
Status: Not a bug Package: Calendar related
PHP Version: 4.0.5 OS: Win2K
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: kovi at hms dot hu
New email:
PHP Version: OS:

 

 [2001-08-06 07:22 UTC] kovi at hms dot hu
juliantojd() returns incorrect Julian Days, i.e juliantojd (7,30,2001) returns 2452134 instead of 2452121. 
See http://www.aavso.org/cdata/jdcalendar.stm 
(But jddayofweek() works well with the proper JD!)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-08-06 07:28 UTC] kovi at hms dot hu
I was confused with the julian and gregorian calendars...
 [2001-08-06 07:29 UTC] sniper@php.net
user error. :)

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 13:01:31 2024 UTC