Question Stopwatch whith datediff

As asked, that question makes no sense. I assume that you want to build a stopwatch application and you want to use the DateDiff function in order to do so. First thing you should do is not use DateDiff at all. The .NET Framework includes a Stopwatch class, so that should be the obvious choice. Start by reading the MSDN documentation for the class and you should be able to go from there because it works pretty much exactly as you'd expect.

If you have to use DateDiff because this is homework and that's a requirement then it's not for us to write your code for you anyway. That would be cheating. In that case, you write code for yourself until you get stuck and then you post here and tell us exactly what you've done and exactly what you're having trouble with. We can then help you with that issue and you can then fix the code for yourself and continue.
 
Back
Top