Jump to content
Sign in to follow this  
habitude

Create A Script to Calculate Elapsed Time

Recommended Posts

I want to find out why it takes a certain script to finish. Is there a way to calculated the elapsed time from start to finish?

USING FILEMAKER 6

Thanks in advance

Share this post


Link to post
Share on other sites

Just start the script with the first step being a capture of the time into a time field and date into a date field. You can store them into globals if you wish. Then the last step of your script you would do the same to two other fields.

Finally, you would call a subscript that would write to a log with your values from the global fields (create record). You would then take the difference between the two time fields (compenstating for date change if it goes over midnight) and that would be the time it took for the script to run.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.