Click here to Skip to main content
15,884,628 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I need to implement a timer or stopwatch for an issue tracking system......

In this when an issue or bug is reported.....the customer who has reported the issue chooses the time-frame within which a response form the maintenance team has to be delivered.

If the maintenance team does not respond in the chosen time-frame.... the company is penalized.....

This is the scenario...now what i need to do is.......

I need to start a clock as soon as an issue has been created by the customer.

The clock should be in running mode till - EITHER a response has been given OR the time-frame has been crossed.

In both the cases an email notification will be sent.The clock will stop and restart when required.

So this is what i am trying to achieve.... Plz help!!
Posted

1 solution

What is the issue ? You store the date/time that the issue is logged. Then you store the date/time that the issue is closed. It's a retarded idea, I'd tell anyone offering me work like that to go hell, you can't just create an arbitrary number and expect good code to be written in that time frame, but, it's easy to do. Then once you have those values, it's trivial to put a countdown on a web page.
 
Share this answer
 
Comments
swati2612 13-Dec-12 4:04am    
Ofcourse i have stored the date/time when the issue is logged and closed... but the idea is i need a continous timer kinda thing...which runs even when the application is closed.....
I request you to please read the question properly.... its not that easy as it seems to be!!
Christian Graus 13-Dec-12 4:07am    
If you know the time the question was asked, and the time the timer 'ends', the 'continuous timer' is just a rendering of data that you know. If the application is not running, where should that data be displayed and to what purpose ? The data is there and does not change from being rendered ( except that it changes due to the passage of time ). It's not easy because it makes absolutely no sense.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900