I will tell my idea. If the person enter his time of birth in this format "YYYY: MM: DD: HH:MM:SS" My application will display: Ur life timer is :"26:11:13:02:03:55"
+1
A:
try this below url http://www.quackit.com/javascript/javascript_date_and_time_functions.cfm
VAC-Prabhu
2010-05-11 17:57:56
Yeah, no need at all for ASP.NET if JavaScript is used.
Nelson
2010-05-11 18:09:45
+1
A:
What have you tried so far? What problems are you having? Generally speaking, this is just arithmetic. You start on the right and subtract, "borrowing" from the next-highest place as necessary.
You will probably need to deal with leap years, so do a google search for "number of days between dates" to get a correct formula for that - it's not hard, but lots of people get it wrong on their first try.
Mark Bessey
2010-05-11 18:30:38