I have a model which has a date. Since it's based a non-Gregorian calendar, I have to break the date into 3 columns dd, mm and yy to do operations on it.
I need to retrieve 3 rows that have the date of today or after.
I need to write a condition where
yy >= today's year
mm >= today's month
and for the result of this implement
mm >= today's month
dd >= today's date
How to write a clause to meet this condition.
from Newest questions tagged laravel-5 - Stack Overflow http://bit.ly/2GALav3
via IFTTT
Aucun commentaire:
Enregistrer un commentaire