nagendrabhat
1 year ago
103
8
Laravel

Data of a week.

Posted 1 year ago by nagendrabhat

Hey. Actually, I have a data in a table contains a date, name, and so and so.

My task is to get the data of a week.

For example.

Data is (YYYY-DD-MM)

2018-02-09 Data1 11

2018-08-09 Data2 12

I just want to get the weekly data and print over a screen.

Can anyone help me out how to parse these dates and takes the weekly where condition and print it over.

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