Convert seconds or a date range to hours, minutes, seconds (hh:mm:ss

Category:
Dates and Math
Type:
Snippets
Difficulty:
Beginning
Author:
Anonymous

Version Compatibility: Visual Basic 6

More information:
This function takes 3 optional parameters: Seconds Start Date End Date It will cpnvert seconds to a formatted time string or determine elapsed time between to "Date" variables. If you do a "ctrl-A" in the code window and paste into VB, it will show in the intended formatting/alignment.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: