by Mark Wills (2 Submissions)
Category: Libraries
Compatability: Visual Basic 3.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (2 Votes)
An easy to use class that will tell you how long your application has been running in hours, minutes, and days. The class will return both a descriptive string telling you the elapsed time, and individual integers for hours, minutes and days.
Inputs
None. Just call the Calculate method first.
Assumes
Very simple to use. The zip file contains a small VB project that shows how to use it. Full instructions are also included in the class code.
Code Returns
Uptime - Returns a string e.g. "1 Days, 2 Hours & 5 Minutes"
Days - Returns an integer representing the number of days
Hours - Returns an integer representing the number of hours
Minutes - Returns an integer representing the number of minutes
Side Effects
None.
API DeclarationsNone.
Upload