Convert seconds to Hours, Minutes, and Seconds
Category:
Dates and MathType:
SnippetsDifficulty:
IntermediateAuthor:
Intelligent Solutions Inc.Version Compatibility:
More information:
This function takes the number of seconds as a parameter and returns a time string containing hours, minutes, and seconds. If the optional parameter Verbose is false, the return value looks like 1:31.08. If it is true, the return value would be 1 hour, 31 minutes, and 8 seconds.
Instructions: Copy the declarations and code below and paste directly into your VB project.
Declarations: