LPS-39594 We have to mark the time before the publication process because we might miss entities in the next publication window. Also original LayoutExport code piece marked the time before the process for the same reason.
LPS-39594 Call it right before export