miladr/jalali

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

Opened this issue · 3 comments

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

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

thanks!

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 :-)