Pauses execution and waits for the datetime to pass.
TimeWait (datetime)
(s) datetime use format YYYY:MM:DD:HH:MM:SS.
(i) always 1.
Use this function to pause execution to wait for the datetime to pass.
To wait for the next occurrence of the specified time, (i.e., today or tomorrow), specify "0000:00:00:H:M:S" for the date.
a=TimeYmdHms( ) ; Gets Current Time b=TimeAdd(a,"0000:00:00:00:00:07") ; Adds 7 seconds to current time TimeWait(b) ; Waits for that time to occur Display(3, "Time now should be", b)
FileTimeGet, FileTimeGetEx, TimeDate, TimeAdd, TimeDiffDays, TimeDiffSecs, TimeYmdHms, TimeDelay