GETLASTRUNDATE

Description

Returns the most recent date and (local) time that the specified DTS was executed.

Syntax

GETLASTRUNDATE ( dtsFilename )

Parameter Description
dtsFilename The path (using Universal Naming Convention — computer name and a share name) and name for the DTS file.

Remarks

This function searches the Execution Log for the specified DTS and returns the last date and (local) time the job ran. This function, using the current DTS as the parameter, returns the same value as the source System Variable LastRunDateTime.