-
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.
-
Take a look at the DATEADD function!
Roger
-
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