Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Compute difference between two times
Message
De
10/06/2004 06:17:01
 
 
À
10/06/2004 04:54:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00911027
Message ID:
00912126
Vues:
13
*on textbox3.refresh
*This solution does not cover algebriche differences of time
this.value= LEFT(TTOC({^0001/1/1:}+ABS((CTOT(thisform.text1.value)-CTOT(thisform.text2.value))),2),5)

* on textbox6.refresh
like above

* on textbox12.refresh
* This solution does not cover when the sum overbound  24 hours : for this you have to choice what you want see
this.value=LEFT(ttoc({^0001/1/1:}+(CTOT(thisform.text3.value)-CTOT('0'))+(CTOT(thisform.text6.value)-CTOT('0')),2),5)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform