VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



This is will cause your program to pause for a specific amount of time, using the dateadd function.

by George K (1 Submission)
Category: Miscellaneous
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Mon 25th June 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)

This is will cause your program to pause for a specific amount of time, using the dateadd function.

Rate This is will cause your program to pause for a specific amount of time, using the dateadd function.



    startime = Format(Now, "hh:mm:ss AMPM")
    endtime = DateAdd("s", 60, startime)

    While startime < Format(endtime, "hh:mm:ss AMPM")
        startime = Format(Now, "hh:mm:ss AMPM")
    Wend


Download this snippet    Add to My Saved Code

This is will cause your program to pause for a specific amount of time, using the dateadd function. Comments

No comments have been posted about This is will cause your program to pause for a specific amount of time, using the dateadd function.. Why not be the first to post a comment about This is will cause your program to pause for a specific amount of time, using the dateadd function..

Post your comment

Subject:
Message:
0/1000 characters