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

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

filehandler - java open files not cleaned, even when the process is killed -

gridview - Yii2 DataPorivider $totalSum for a column -