Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determine Remaining Time
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00809267
Message ID:
00809491
Views:
26
Kevin,

Can you use datetime values instead? If so it's trivial.
declare integer Sleep in win32api integer nMillisec 

set hours to 24
ldFuture = datetime() + rand() * 24 * 60 * 60
do while datetime() < ldFuture
   @0,0 say "Time till done:" + ttoc( {^2003-1-1 00:00:00} + ( ldFuture - datetime() ), 2 )
   sleep( 1000 )
enddo
>Anyone have a function to determine the time remaining
>between a give time and TIME()?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform