morilog / jalali

This Package helps developers to easily work with Jalali (Shamsi or Iranian) dates in php appliations, based on Jalali (Shamsi) DateTime class.
MIT License
859 stars 110 forks source link

Add a new toGregorianDate method #27

Closed meysammahfouzi closed 7 years ago

meysammahfouzi commented 7 years ago

toGregorian returns an array. I added a new method called toGregorianDate whose return type is DateTime.