Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calculating Time
Message
De
16/11/1998 08:58:50
 
 
À
16/11/1998 08:34:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00157794
Message ID:
00157800
Vues:
16
>I saw an article one in Foxpro Advisor about how to calculate time.
>
>14:30:56 - 12:30:26 =
>
>Does anyone have a program to do this?

Hi Trish,

How about something like CTOT( "14:30:56" ) - CTOT( "12:30:26" )

This will give you the time difference in seconds. Depending on you needs, you might could add some code to make it smarter ( e.g. which day, etc. ) and make it a function.

Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform