Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sum time
Message
From
22/04/2002 12:47:22
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
22/04/2002 12:07:19
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00647599
Message ID:
00647638
Views:
7
>hi
>
>i have a txt field that holds time like this '00:03'23' i want to sum how many hours are there , how do i do it? can anyone help please
>thank you
>
>bill

select sum(ctot("^2000/1/1 "+cTime)-ctot("^2000/1/1")) as inSecs ;
from myTable ...

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
Reply
Map
View

Click here to load this message in the networking platform