I am trying to use an edit text file action at the beginning and the end of a bundle to log the start time and end time of the bundle.

Here are the actions I have in my test bundle
Edit Text file, append line "Started running test-test-testy-test on ${YEAR}-${MONTH}-${DAY} at ${HOUR24}:${MINUTE}.${SECOND}"
Delay 120 seconds
Edit Text file, append line "Finished running test-test-testy-test on ${YEAR}-${MONTH}-${DAY} at ${HOUR24}:${MINUTE}.${SECOND}"

I expect to see

Started running test-test-testy-test on 2013-7-27 at 23:57.00
Finished running test-test-testy-test on 2013-7-27 at 23:59.00

(assuming I run the bundle at 11:57pm on 7-27-2013)

But what I actually see is

Started running test-test-testy-test on 2013-7-27 at 23:57.00
Finished running test-test-testy-test on 2013-7-27 at 23:57.00

It would appear that the date/time variables I'm using are populated when the bundle starts running, and are not the CURRENT date and time.
Is there a way to update the variables, or better yet, is there a variable that just has the current date and time in it? like %date% and %time% in
a cmd/bat file?

Any help would be greatly appreciated!

Thanks in advance,

Taylor H