Results 1 to 4 of 4

Thread: Time calculator

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2006
    Posts
    6

    Time calculator

    Hi its been awhile since i have programmed and im upgrading from vb6 to the 2002 vb.net anyway my question is Is there a code that will let me subtract 2 times to determine the hours worked or do i need to break it down individually

  2. #2
    .NUT jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    105,446

    Re: Time calculator

    .NET 2.0 has a Stopwatch class for this, but in earlier versions it's not difficult. I've made a CodeBank submission that will do it.

    http://www.vbforums.com/showthread.php?t=387525

  3. #3

    Thread Starter
    New Member
    Join Date
    Apr 2006
    Posts
    6

    Re: Time calculator

    Thanks for the help that got me on the right track.

  4. #4
    .NUT jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    105,446

    Re: Time calculator

    Cool. Don't forget to resolve your thread from the Thread Tools menu.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width