lundi 9 décembre 2019

not giving perfect result

Time and date both are different field but when i use this coding result is not perfect. This is my code of function

$challenges = Challenge::whereDate('c_date','>',Carbon::now())->get();
 Challenge::whereTime('c_time','>',Carbon::now())->get();

any problem is in code?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire