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.


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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.