Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sum time field
Message
 
 
À
06/01/2005 07:27:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Versions des environnements
Visual FoxPro:
VFP 5
Database:
Visual FoxPro
Divers
Thread ID:
00974644
Message ID:
00974647
Vues:
20
You can reuse code from Re: Calculate Time Message #866527
sum CTOT(tim) - CTOT("00:00:00") to lnSec
lcTotalTime = PADL(INT(lnSec/3600), 2, "0") + ":" + ;
		PADL(INT((lnSec%3600)/60),2, "0") + ":" + ;
		PADL(lnSec % 60,2, "0") 
> i have at mytable field with time as under
>rec1 field tim&&character type
> 10:30:15
>rec2 12:50:05
>rec3 08:10:00
>
>i need to sum this field as
>sum tim to m.k&&to get result 31:30:20
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform