The date string looks like this
2011-08-19 17:14:40
(year-month-day hours:minutes:seconds)
How can I find out if the date is older than
You can use Carbon as follows
if (30 - ((new \Carbon\Carbon($given_date, 'UTC'))->diffInDays()) < 0) { echo "The date is older than 30 days"; }