Date +/- Function PHP -
i trying make function checks whether date holiday or not. such as, on 24/02/2016 added 2 days, function set date 28/02/2016. because 26 & 27 february holiday (in bangladesh). have been trying make did not way. can suggest, how task php?
i think best way in php handle dates carbon php
you that
carbon::createfromdate(2016, 2, 24)->adddays(2);
Comments
Post a Comment