Calculate Elapsed Time Given Start & End Dates/Times

Category:
Dates and Math
Type:
Snippets
Difficulty:
Beginning

Author: Bob Thibeault

Version Compatibility: Visual Basic 6, Visual Basic 5

More information:
This program demonstrates how to calculate the elapsed time between a starting date / time and an ending date / time. 24 Hour format for time must be used. Weeks, days, hours and minutes will be calculated.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download simpledatetime.zip