Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Subtracting times
Message
From
30/10/2003 06:04:41
 
 
To
30/10/2003 05:27:24
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00844412
Message ID:
00844437
Views:
25
Thanks Gregory.

Then, for SET HOURS TO 24 :
SET HOURS TO 24
Firsttime = '18:00:00'

Chk1time = '18:03:45'
? GetTimeDiff(Firsttime,Chk1time)

PROCEDURE GetTimeDiff ( time1,time2 )

RETURN TTOC({^1900/01/01 00:00} + (EVALUATE('{^1900/01/01 '+m.time2+'}')-EVALUATE('{^1900/01/01 '+m.time1+'}')),2)

ENDPROC
Fabio
Previous
Reply
Map
View

Click here to load this message in the networking platform