Results 1 to 3 of 3

Thread: Calculating thehdifference between two time

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 2000
    Location
    Chennai , India
    Posts
    44

    Exclamation

    Who can I calculate if the current time is x mins lesser than a specified time?
    Rabin
    Windows : Visual Basic 6 Enterprise / 3.0 (16-bit)
    DOS : QBasic 4.5 , Visual Basic For DOS
    Web : HTML , VBScript , PHP (Learning)

  2. #2
    Guest
    next time please look into the help file of visual studio

    the comand = DateAdd

  3. #3
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    Or use
    Code:
    if DateDiff("s",FirstDate, SecondDate) > x Then MsgBox "Greater!"
    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

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