We can use TimeSpan for finding Time duration in C#.
(e.g)
//Get starttime
DateTime starttime=DateTime.Now;
//To some task (e.g browse www.qualitypointtech.com)
............
webbrowser1.navigate("www.qualitypointtech.com");
............
//Get endtime
DateTime endtime=DateTime.Now;
//Find the time gap between starttime and endtime.
TimeSpan duration = endtime - starttime
More Articles...
Tuesday, March 31, 2009
Search This Blog
Blog Archive
-
▼
2009
(257)
-
▼
March
(8)
- Finding broken links using HttpWebRequest/HttpWebR...
- Finding Time duration in C#
- C# webbrowser control - Javascript error suppression
- C# webbrowser control - Synchronization for Page n...
- MySQL - Is select query case sensitive?
- AJAX- Some tags (TABLE,TR,TD) will be readonly in IE
- FFmpeg - Media file conversion tool
- sIFR - The new way of Displaying desired Font in w...
-
▼
March
(8)

AI Course | Bundle Offer | Unlocking AI | Dream Big | Listen to Dream Big
Today's Deals | Timesheet | Products | SQL ebook | Earn 50% commission
About | Privacy | Follow | TOS | WhatsApp | Contact
I may earn a commission from Amazon affiliate links
No comments:
Post a Comment