General information
Category:
Coding, syntax & commands
>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only