Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determine Remaining Time
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00809267
Message ID:
00809491
Vues:
27
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform