xmldb:last-modified($collection-uri as item(), $resource as xs:string) xs:dateTime?
Returns the last-modification date of resource $resource in collection $collection-uri. Collection URIs can be specified either as a simple collection path or an XMLDB URI.