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
868 stars 110 forks source link

How to Get Last Day of current month in Jalali? #153

Open iliaghz opened 2 years ago

hos3ein commented 1 year ago

$lastDay = Jalalian::now()->getFirstDayOfMonth()->addDays(Jalalian::now()->getMonthDays() - 1);