# Execution time from AfterAction script event

**URL:** https://www.finalbuilder.com/forums/t/execution-time-from-afteraction-script-event/1412
**Category:** Discussion
**Created:** [December 22, 2009, 2:38am UTC](https://www.finalbuilder.com/forums/t/execution-time-from-afteraction-script-event/1412 "2009-12-22T02:38:44Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [December 22, 2009, 2:38am UTC](https://www.finalbuilder.com/forums/t/execution-time-from-afteraction-script-event/1412/1 "2009-12-22T02:38:44Z")

</div>

Hi guys,

What's the easiest way to get the execution time of an action in its AfterAction event?&nbsp;Can I&nbsp;get it from the action somehow?&nbsp;Do I have to write the Start time in BeforeAction to some global variable and then calculate the difference?

I'm using FinalBuilder 5

Rgds

Richard

---

<div class="post-metadata">

### Author: ![paulsamways](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e8c25b/32.png) [@paulsamways](https://www.finalbuilder.com/forums/u/paulsamways)
#### Post date: [December 22, 2009, 10:20am UTC](https://www.finalbuilder.com/forums/t/execution-time-from-afteraction-script-event/1412/2 "2009-12-22T10:20:34Z")

</div>

Hi Richard,   
  
 You’ll need to write the start time to a variable on the action’s BeforeAction event script and then calculate the difference in the actions AfterAction event.   
  
 Regards,   
 Paul.
