Is it possible to protect code from system-change date, for example I use simple script to check if date is "expired", but if user system date is changed before defined date this becomes absurdly. Please help, I am new in this area :)
var GivenDate = new Date('31/12/2021');
var CurrentDate = new Date();
if(GivenDate > CurrentDate){
/// do anything...
}
else{
alert("Your licence has expired!")
}