hi,
I want to compare two dates the date of today and the date enters by the form
post as Sun Jan 31 1999 16:00:00 GMT-0800 (PST)
I wrote the following code but it shows me nothing
if (Moment(“createdAt”).isAfter Moment(“dateexp”)){
alert(“le produit expremer”);}
else
alert(“le produit n’est pas exprimer”);