Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to remove seconds in TIME() & subtract it.........
Message
From
15/08/2004 14:27:24
 
 
To
11/08/2004 05:59:28
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00930059
Message ID:
00933428
Views:
39
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform