Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to remove seconds in TIME() & subtract it.........
Message
De
15/08/2004 14:27:24
 
 
À
11/08/2004 05:59:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00930059
Message ID:
00933428
Vues:
38
hi,

i try to change your code to get result between 2 times
if time1=4:00a-time2=4:00a the result must be (24 hours)
and after that multiply the result (24hours*11.9)

but i get 0 result.
PRIVATE timeSum
timeSum=		CTOT(thisform.text1.value)-CTOT('0:')
timeSum=m.timeSum-(	CTOT(thisform.text2.value)-CTOT('0:'))

thisform.text3.value= STUFF(TTOC(CTOT('0:')+m.timeSum,2),1,2,;
    STR(INT(VAL(TTOC(CTOT('0:')+m.timeSum,2)))+24*INT(m.timeSum/86400)))
thanks.
regards.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform