Collector functions The table below contains a short description of each script function. For information about syntax, examples, etc., see the full description of each script function. Function name Description SetOutputExpireDate Sets an expiring date at which a document in the Collector archive is expired and ready to be deleted. The offset is set from the time at which the document is created in the output queue.