file::get-last-write-time

Returns the date and time the specified file was last written to.
DateTime file::get-last-write-time(path)

Parameters

Name Type Description
path string The file for which to obtain write date and time information.

Return Value

The date and time the specified file was last written to.

Requirements

Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Functions