hi Im using code that gets the holiday of month and year, this function is relying on easter_date internal php code to calcuate the exacter date of easter date. The issue is the function works in localhost and the following code gives the right easter western date '2016-03-27' :
echo date('Y-m-d',easter_date($year));
but in the server it's short by one day, i don't know why.The same function it returns to me '2016-03-26'
Im using cakephp. Thanks in advance