There is a property on the build object with the build start time:
http://www.kinook.com/VisBuildPro/Ma...meproperty.htm
And to calculate:
Code:
sec = DateDiff("s", Builder.StartTime, Now)
hr = Int(sec / 3600)
sec = sec - hr * 3600
min = Int(sec / 60)
sec = Int(sec Mod 60)
' format in hh:mm:ss format
strElapsed = vbld_PadLeft(CStr(hr), 2, "0") & ":" & _
vbld_PadLeft(CStr(min), 2, "0") & ":" & vbld_PadLeft(CStr(sec), 2, "0")
http://www.w3schools.com/vbscript/func_datediff.asp