We were talking about Laravel 5 on its release, we are pleased today to welcome Laravel 5.1
How do I use the created_at field to get only the records that were created today and no other day or time?
created_at
I was thinking of a ->where('created_at', '>=', Carbon::now()) But Im not sure that would work.
->where('created_at', '>=', Carbon::now())
Aucun commentaire:
Enregistrer un commentaire