vendredi 15 juin 2018

Laravel Date Compare Not Working

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


via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire