Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calculate time total
Message
From
11/06/2001 18:58:15
 
 
To
11/06/2001 18:47:14
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00518132
Message ID:
00518136
Views:
12
>Hi
> I have a table with 2 fields one is a name, the other is a character type that contains something like this 00:02'23 which mean that this person talked on the phone for 2 minutes and 23 seconds, now I want to know is a sum of how long every person talked on the phone can anybody help
>Thank you
>bill


Convert each pice to seconds:

? (2 * 60) + 23 = 143 seconds

Add up all the seconds, then convert back

? 143/60 = 2 && minutes
? 143%60 = 23 && seconds
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform