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

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

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



Magento 2 Checkouts page customization

Updated May 21, 2017 16:09 PM



Shopping cart price rule shipping issue

Updated May 16, 2018 16:09 PM