Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Math with time
Message
From
17/02/2000 12:27:53
Jay Shepherd
Construction DataFax, Inc.
Montevallo, Alabama, United States
 
 
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00327347
Message ID:
00333487
Views:
26
>Say I wanted to time out a form. I call my foo sub and want to time this form out in approx (dynamic) minutes. Say I call the (VB time function) and try to say MyTimeOut time = (VB time function) + (dynamic) minutes. Then in the form I can ease the system strain by setting my timer to check the actual time every 65 seconds for (VB Time function) to => MyTimeOut vice an incrementer variable.

Couldn't you use DateAdd() ?

So, dteNewDate = DateAdd("m", 10, Now) would add 10 minutes to now.
Jay Shepherd
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform