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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

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