3 years ago

how to get specific dates using Carbon object Laravel 5.2

Posted 3 years ago by dilfdo

I'm doing application for school. when adding classes i want to assign term end dates based on term duration

1st term (spring semester) : jan 2st week monday - may 2nd week friday 2nd term (summer semeseter) : monday may 3rd week - 1st week friday in August 3rd term - monday 3rd week of august - december 2nd week friday

How can i get those specific days using Carbon ? Please advice

Please sign in or create an account to participate in this conversation.