954,551 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

calculating the difference between two times

I want to first say THANK YOU to all of you programmers for your help. You truly live steady to the core of IT and are an inspiration to us newbies!

I have a simple utility that starts and stops a timer on a VB4 form. I record the time when I start the timer and when I stop it. How can I calculate the difference between the two times in minutes and seconds?

I don't have a clue. When this thread is resolved, how do I close it? I'm sorry that I'm NOT on here all of the time, but I only get so much time to mess with code (when I don't work 11.5 hrs. daily)

Thanks again for your help and understanding.

major_lost

major_lost
Newbie Poster
15 posts since Jun 2009
Reputation Points: 10
Solved Threads: 0
 

check out the datediff function I think you will find it does what you need

ChrisPadgham
Posting Pro in Training
413 posts since Sep 2009
Reputation Points: 102
Solved Threads: 78
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You