3 years ago

How to get the current week using Carbon with Laravel

Posted 3 years ago by dilfdo

I have db with all the Thursdays dates of the current year. i want to get only the current week and upto 9 weeks every time when retrieve data pls advice me how ti proceed

weeks table contain

id week_starting_date

week_starting_date store like this

2016-01-07 2016-01-14 2016-01-21

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