5 ms·
You have: function project_expired(){ //do something to check the validity if (current_time==time_you_set_to_expire) return true else retu
by btipling 13y ago
You have:
function project_expired(){
//do something to check the validity
if (current_time==time_you_set_to_expire)
return true
else
return false
}
Maybe you just want:
return current_time==time_you_set_to_expire;
O_o
Also note this is really easy to circumvent.