Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug in jewishtojd() #2775

Closed
robertlight opened this issue Sep 19, 2023 · 1 comment
Closed

bug in jewishtojd() #2775

robertlight opened this issue Sep 19, 2023 · 1 comment

Comments

@robertlight
Copy link

From manual page: https://php.net/function.jdtojewish

$jd = jewishtojd( 1,1,5784);// 1st of Tishrei 5784 was on 9/16/2023
echo jdtojulian($jd); // produces 9/3/2023


@damianwadley
Copy link
Member

If you're looking for a date string according to the standard Gregorian calendar used by most of the world then you need jdtogregorian. The Julian calendar is something different.
https://en.wikipedia.org/wiki/Julian_calendar

@damianwadley damianwadley closed this as not planned Won't fix, can't repro, duplicate, stale Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants