How to compare two Carbon Timestamps?

First, Eloquent automatically converts it’s timestamps (created_at, updated_at) into carbon objects. You could just use updated_at to get that nice feature, or specify edited_at in your model in the $dates property: protected $dates = [‘edited_at’]; Now back to your actual question. Carbon has a bunch of comparison functions: eq() equals ne() not equals gt() greater … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)