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