Hai,Friends,
I need one help. i Need timer in asp.net page.
Like this => Textbox, Timer
If i click timer means it will display like Clock and then i have pick the time from timer.Then it will add to Textbox and then finally it store in DB.
Thanks In Advance Friends :)
Loading


Sanjeeb LenkaRank #301 · 8.3K reputationPosted Jul 31, 2013, 9:37 AM EDT
i didn't get your point. plz explain your detail requirement so we can able to solve your problem.
for time difference use below code:
string startTime = "7:00 AM";
string endTime = "7:00 PM";
TimeSpan duration = DateTime.Parse(endTime).Subtract(DateTime.Parse(startTime));
Response.Write(duration.ToString(@"hh\:mm"));
Iftikar HussainRank #423 · 5.9K reputationPosted Jul 30, 2013, 3:55 AM EDT
Are you looking for in ASP.NET or windows form?
Regards,
Iftikar
Sanjeeb LenkaRank #301 · 8.3K reputationPosted Jul 30, 2013, 3:56 AM EDT
i am attaching a sample just check that sample.
suren v112 reputationPosted Jul 30, 2013, 8:29 PM EDT
Thanks for your reply. I Need Clock or Timer for web based project.
Iftikar HussainRank #423 · 5.9K reputationPosted Jul 30, 2013, 8:32 PM EDT
Regards,
Iftikar
suren v112 reputationPosted Jul 30, 2013, 8:36 PM EDT
Thanks for your attachment. I need to make changes in AM and PM like DropDownList. And same time i want to change the time like our --> System Time.
Sanjeeb LenkaRank #301 · 8.3K reputationPosted Jul 30, 2013, 8:36 PM EDT
provide more details. AS iftikar said clock and timer are two different thing. so provide your details requirement.
suren v112 reputationPosted Jul 31, 2013, 9:31 AM EDT
I need to pick the exact time as well as i need difference of two timings also like 1AM to 2AM diff s one hour like this......
Which s suitable for me Clock or Timer ? ?Plz suggegt me....
Thanks for Your Reply Dude :)
Abhineet SrivastavaRank #1,890 · 783 reputationPosted Jul 31, 2013, 9:59 AM EDT
suren v112 reputationPosted Aug 1, 2013, 4:30 AM EDT
I done in Ajax timer itself ...
Thanks for your reply Dude :)
Sanjeeb LenkaRank #301 · 8.3K reputationPosted Aug 1, 2013, 4:36 AM EDT
Your problem solve or not........
if my answer helped you mark it as answered.