PHP & MySQL, Tutorials

There are times you want to add days to a date but only working days, so weekends are ignored.

Thankfully strtotime makes this super easy simply use weekdays like this:

date('Y-m-d H:i:s', strtotime('+2 weekdays'))