mardi 5 juin 2018

To check if a date is before or after a set date

I want to use an if statement to control whether or not a date is greater or less than a specific date

example: if(date < 2000-06-01){ //Some code }

Aucun commentaire:

Enregistrer un commentaire