I am trying to compare two dates in laravel. I don't know how to do that. I am trying this code. But not getting the the result i want.
@if((2018-06-15)>(2018-05-15))
If part is Not Working
@else
Don't know why else part is working
@endif
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2JRw58M
via IFTTT
Aucun commentaire:
Enregistrer un commentaire