I have a table name user . in user have filed colomn 'date' .
in this colomn field 'date' have data like this
users table
id | name | email | date |
1 | jhon | a@gmail.com | 2021-06-07 |
2 | phil | b@gmail.com | 2020-06-07 |
i want to showed data where 'date' is year is less than 1 year from now.
from this table just show :
2 | phil | b@gmail.com | 2020-06-07 |
because this date is less than 1 year . i am using laravel .