Click here to Skip to main content
13,143,774 members (30,098 online)
Rate this:
Please Sign up or sign in to vote.
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 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 12-Dec-12 20:24pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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.
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)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.170915.1 | Last Updated 13 Dec 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100