SQL Eval Function Directory_GetLastAccessTime
Directory_GetLastAccessTime returns the date and time the specified file or directory was last accessed.
Directory_GetLastAccessTime ( @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 accessed. This value is expressed in local time.