Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Time Calculation
Message
From
11/02/2010 08:59:37
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01448762
Message ID:
01448772
Views:
63
>Text1 has this value
>
>11:25-13:30
>
>I want to get tolal elaspsed time as
>
>02:05
>
>The I want to multiply 02:05 with 5 as
>
>10:25
>
>Please help

or Nadyas reply in short:
lnSec = int(ABS(CTOT('11:25')-CTOT('13:30')))
?TRANSFORM(100*INT(lnsec/3600)+INT((lnsec%3600)/60),'99:99')
lnSec =lnSec *5
?TRANSFORM(100*INT(lnsec/3600)+INT((lnsec%3600)/60),'99:99')
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform