if (userDate.getHours() >= sysDate.getHours()) {
alert('continue');
} else {
alert('time is up');
}
I need to compare the system time with user entered time.By the above method i am able to compare the hours but i also need to compare minutes.pls suggest a suitable method for this