Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Time arithmetic in VFP 3
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00143995
Message ID:
00144036
Views:
23
>Time arithmetic can be done using datetime expressions by simply subtracting or adding them together. After that is done how can one simply convert the result to a time so that it can be displayed. Is there a function for this? I have only found Hours() and minutes().

Evan,

The tresult of datetiem subtraction is seconds. Take the seconds and /86,400 for days, /3600 for hours, /60 for mintues.
Previous
Reply
Map
View

Click here to load this message in the networking platform