Results 1 to 4 of 4

Thread: NewBie question .. how to calculate time

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2003
    Posts
    784

    NewBie question .. how to calculate time

    dim x1 as string
    dim x2 as string

    x1 = "01:32:28"
    x2= "12:33:59"

    how to calcualte them?

  2. #2
    Fanatic Member
    Join Date
    Oct 2000
    Location
    Reading, UK
    Posts
    870
    what do you want to know the difference? If so use the datediff function.
    www.vb-tech.com
    .Net Freelance Development
    http://weblog.vb-tech.com/nick
    My blog

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2003
    Posts
    784
    Thanks for your prompt reply, what I need is to summ ..

    Thanks

    Winanjaya

  4. #4
    Fanatic Member
    Join Date
    Oct 2000
    Location
    Reading, UK
    Posts
    870
    look up the function dateadd in help. that should do it.
    www.vb-tech.com
    .Net Freelance Development
    http://weblog.vb-tech.com/nick
    My blog

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