Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Math with time
Message
From
21/02/2000 09:34:47
 
 
To
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:
00334801
Views:
34
>>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.

OK, iy works great with one tiny change. "DateAdd("n", 10, Now)". However, Thanks to you I have a good solve to my issue. Thank you again.
~Joe Johnston USA

"If ye love wealth better than liberty, the tranquility of servitude better than the animated contest of freedom, go home from us in peace. We ask not your counsel or arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that ye were our countrymen."
~Samuel Adams

Previous
Reply
Map
View

Click here to load this message in the networking platform