![]() ![]() This also causes the js counter to reset to its original value, as the page is 'reloading' in a way. ![]() When the user clicks a button further down in the form, the form generates more fields. I have a js counter which keeps track of how many chars are in a field on an asp form. This is not an online form, so all time/date of birth details can be set in the script.įunction ElapsedTime(inFromDate,inToDate) I would like this for at least four children, but the possibility to add more later by copying some code would be great. Maybe the script can allow you to choose which values to show? The code below also shows weeks, which is up to you to use or not. The hours, minutes, and seconds, would be great, but is of course optional. Is that possible? Or maybe I have to recalculate their GMT (Greenwhich time zone) birth time for that to work, or maybe the time zone of the server? How can we make that accurate? I also would like the possibility to consider the time differences between the places they were born and the time zone the web page viewer is in. Please note that since Mary is less than a year old, the 0 year value does not show. Lindy is 03 years, 11 months, 24 days, 23 hours, 44 minutes, 23 seconds old.Īnd the clocks keep ticking and counting up. Picture Chris born in Melbourne, AustraliaĬhris is 04 years, 02 months, 03 days, 01 hours, 06 minutes, 12 seconds old. Mary is 08 months, 12 days, 14 hours, 02 minutes, 53 seconds old. John is 10 years, 03 months, 16 days, 12 hours, 14 minutes, 03 seconds old. The thing is that I want one page with all the children listed. That code works for one person/age only and includes weeks. There are plenty of countup counters etc, but mostly count days, and those that do count age are single use only. can anyone guide me how to go about it please And I am not loo. I have searched on internet and nothing seems to get close to the below functionality. Id like to make a couple of timer widgets triggered by any event. I do not know javascript well (I recognize some code) and know a little of html. I want to display below each child picture the age clock/counter of the child. I am looking for a multiple countup or age timer within a html page (using javascript). If you find other uses for the Count Up Timer, please use the feedback form beneath the calculator to let me know. How long have I been working on this billable project, and how much have I earned?.How long have I been clean (a.k.a., clean-time calculator)?.How long since I quit smoking, and how much money have I saved?.How long since my last drink (a.k.a., sobriety calculator)?.Here are just a few ideas for using the count up timer to count up from a special occasion or event: Note that if you would like to count down to future date and time, please visit the Count Down Calculator. Plus, if the past event resulted in periodic savings or earnings (like the savings from quitting smoking or the earnings from working on billable projects), the count up timer will even count the money you have saved or earned since the start date and time. Simply enter the date and time of a past event and the count up timer will generate a timer that will begin counting up from the event's date and time.Īnd not only will the calculator count up the time in years, months, days, hours, minutes, and seconds, but it will also give the total time stated in each of those time units. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |