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

شمسی به میلادی #5

Open
ghost opened this issue Jan 12, 2015 · 3 comments
Open

شمسی به میلادی #5

ghost opened this issue Jan 12, 2015 · 3 comments

Comments

@ghost
Copy link

ghost commented Jan 12, 2015

سلام ، آیا امکانش هست که تاریخی رو از شمسی به میلادی تبدیل کرد؟ چطور؟

@miladr
Copy link
Owner

miladr commented Jan 12, 2015

use toGregorian($j_y, $j_m, $j_d)

@ghost
Copy link
Author

ghost commented Jan 12, 2015

thanks!

@ebrahimradi
Copy link

Hi!
Dose toGregorian method check Jalali date to be true?
I've tested it and the answer is no!
Please first check for a valid date then convert it for example if I use this function like:
jDateTime::toGregorian(1394, 1, 33)
it will convert it! Thanks :-)

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