I have developed a application in jsp. I need to achieve a count down timer(days,hours,minutes,seconds) between from date to todate, considering below cases.
All below are assumed
(1) I have 4 product, for each product i have different end date stored in mysql in DB.
(2) I need to calculate time time remaining for the end date for each product, for eg;
Product 1 end date : 10/05/2010 (i need to show the time remaining for the end of 10/05/2010 from current time and date). Like wise i need to show for different products.
How to achieve this. Solutions for this would be highly appreciated. Thanks in advance.