file:last-modified

Returns the last modification time of a file or directory.

last-modified($path as xs:string) ➔ xs:dateTime

Arguments

 

$path

xs:string

Path to file/directory

Result

xs:dateTime

Namespace

http://expath.org/ns/file

Links to specifications

EXPath File Module

Saxon availability

Available whether or not support for XPath 3.0 is enabled. Implemented since Saxon 9.5. Requires Saxon-PE or Saxon-EE.