SQL Eval Function Directory_GetLastWriteTime
Directory_GetLastWriteTime returns the date and time the specified file or directory was last written to.
Directory_GetLastWriteTime ( @path NVARCHAR (MAX)) RETURNS DATETIME
- path: The file or directory for which to obtain access date and time information.
A DateTime object that is set to the date and time the specified file or directory was last written to. This value is expressed in local time.