Magento 1.9: Calculate dates except Saturdays and Sundays in magento?

by NewBie   Last Updated August 14, 2019 04:09 AM

For example, I place an order on Friday, August 9, 2019, and the date I check is Monday, August 12, 2019. I want to check if after 3 days I have not confirmed, I will notify but except on Saturday and Sunday. The above example, if calculated correctly, is 0 days if the third day is passed, it will be counted as 1 day and the notification date is Thursday August 15, 2019. So who can help me find a solution that calculates a date but does not include Saturday and Sunday?

Tags : magento-1.9


Related Questions


Updated September 01, 2016 08:05 AM

Updated May 21, 2017 16:09 PM

Updated May 24, 2015 02:04 AM

Updated July 21, 2017 21:09 PM

Updated May 16, 2018 16:09 PM