Results 1 to 3 of 3

Thread: Time manipulation

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Dec 1999
    Posts
    17
    Any one knows of an easy way to add X seconds to the current time ?
    I am in a situation where I need to get the current time and add 30 seconds to it. I'm using this to schedule a job (in NT 4.0) using the AT command. I was using SOON, but it does not work well in IE5. And the problem is that I have a mixed environment of IE4 and IE5.

    Any help would be appreciated.

    Thanks.
    Joe Handal
    Workstation Engineer
    [email protected]

  2. #2
    Lively Member
    Join Date
    Dec 1999
    Location
    Karlsruhe, Germany
    Posts
    122
    Take a look at the DATEADD function!

    Roger

  3. #3
    Frenzied Member
    Join Date
    Jan 2000
    Location
    Bellevue, WA, USA
    Posts
    1,357
    Sample project...

    [list][*]Start new project[*]Paste following code into form's code window[*]Run project
    Code:
    Private Sub Form_Load()
        Me.Show
        Print Time
        Print DateAdd("s", 30, Time)
    End Sub
    ~seaweed

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