this is my layout... i have used a input component and i have used the type as date and time local... i need a script that would help me to perform action on the time set by the user.....i need to display an alert if a user selects a time in the next 3 hours of the current time ie. if the time is 13.00 and in the input box if he selects a time as 14.00 i need to display a alert saying "time span selected within 3 hours"...i dont want any action to be performed on the else part....and i also need to show an alert if the time or date entered in the input box that "the date has expired".... could u pls help me out with this problem