Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to calculate elapsed time
Message
From
05/05/2006 11:19:36
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01016916
Message ID:
01119614
Views:
21
>>
>>set hours to 24
>>set seconds on
>>lcElapsed = ttoc(ctot('0')+367,2)
>>
>>Up to 11:59:59. Bigger values need a little tweak.
>>
>>Cetin
>
>Works nicely. Which one is better yours or Sergey's? His doesn't require to change any settings...

Depends on what and where you want to do I think. As you know already my suggestion is to use a much longer but safer one.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform