Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Time() subtract
Message
De
17/08/2004 14:20:23
 
 
À
17/08/2004 11:31:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00933602
Message ID:
00933887
Vues:
28
Actually, it just occurred to me. Changing your code just a little,
store (ESP(UserEndDate) + thisform.text2.value)- ESP(UserStartDate) + ;
     thisform.text1.value)) / (60*60) to tResult
or maybe even just
store ESP((thisform.text2.value - thisform.text1.value)/3600) to tResult
;)

Alan

>I agree 100%. I just got caught up in the code syntax that I forgot everything else <g>.
>Hope he gets this problem solved.
>Beth
>>Hmmm... Try that with 5:00 am minus 4:00 am same day. It will never return less than 24 hours. I have to go back to what I and Tore said. You can't do it without knowing the dates involved.
>>
>>Alan
>>
>>>this should work:
>>>
>>>store (ctot("01/02/2001 " + thisform.text2.value)- ctot("01/01/2001 " + thisform.text1.value)) / (60*60) to tResult
>>>
>>>
>>>
>>>>hi,
>>>>thank you,
>>>>
>>>>i try to do that,but it didn't work,
>>>>
>>>>if you know how ,can you send any sample,
>>>>
>>>>i'll appreciate
>>>>
>>>>thanks.
>>>>regards
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform