Scripting would be necessary. The following in a Log Message step at the end of the build would give the build time in seconds (VBScript must be the default script language in Tools | Application Options | General):
Build elapsed time = [DateDiff("s", Builder.StartTime, Now)] seconds
Or in a Run Script step (if VBScript is not the default language):
Builder.LogMessage "Build elapsed time = " & DateDiff("s", Builder.StartTime, Now) & " seconds"
Or to get a different time interval, get the start time as mentioned in the previous post and replace Builder.StartTime with CDate("%START_TIME%") replacing START_TIME with whatever macro name you used.
|