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:
00809305
Views:
29
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()?
Previous
Reply
Map
View

Click here to load this message in the networking platform