If you have the command

«WriteTimeStampToDataSet(Yes)»

in the template, then when the document has been assembled, a data element containing the start and end times and elapsed time of the assembly operation will be written to the dataset.