|  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 Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
29 - 6 = ?
Subscribe to this entry?

 [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. 
(But jddayofweek() works well with the proper JD!)


Add a Patch

Pull Requests

Add a Pull Request


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]
user error. :)

PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Aug 09 23:03:35 2022 UTC