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:
00809305
Vues:
27
Is it what you need?

lcEndTime="14:57:03"
set hours to 24

?yrRemainingTime(lcEndTime)

*---------------------------
Procedure yrRemainingTime
lParameter lctime
Local ln

ln=ctot(lctime)-ctot(time())
return ;
trans(int(ln/3600))+" hour(s), "+;
trans(int((ln%3600)/60))+" min, "+;
trans(ln%3600%60,"99.99")+" sec"



>Anyone have a function to determine the time remaining
>between a give time and TIME()?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform