Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calculating Time
Message
From
16/11/1998 09:02:13
 
 
To
16/11/1998 08:58:50
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00157794
Message ID:
00157803
Views:
17
>>I saw an article one in Foxpro Advisor about how to calculate time.
>>
>>14:30:56 - 12:30:26 =
>>
>>Does anyone have a program to do this?
>
>Hi Trish,
>
>How about something like CTOT( "14:30:56" ) - CTOT( "12:30:26" )
>
>This will give you the time difference in seconds. Depending on you needs, you might could add some code to make it smarter ( e.g. which day, etc. ) and make it a function.
>
>Bill

Thanks...I will give that a try.
Previous
Reply
Map
View

Click here to load this message in the networking platform