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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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 18:01:29 2024 UTC