| NAnt  Help  Task Reference  <uptodate> | v0.85 | 
Check modification dates on groups of files.
If alltargetfiles are same or newer than all sourcefiles, the specified property is set to true, otherwise it is set to false. | Attribute | Type | Description | Required | 
|---|---|---|---|
| property | string | Property that will be set to true or false depending on the result of the date check. | True | 
| failonerror | bool | Determines if task failure stops the build, or is just reported. The default is true. | False | 
| if | bool | If true then the task will be executed; otherwise, skipped. The default is true. | False | 
| unless | bool | Opposite of if. If false then the task will be executed; otherwise, skipped. The default is false. | False | 
| verbose | bool | Determines whether the task should report detailed build log messages. The default is false. | False | 
 Check file dates. If myfile.dll is same or newer than myfile.cs, then set myfile.dll.uptodate property to either true or false. 
<uptodate property="myfile.dll.uptodate">
    <sourcefiles>
        <include name="myfile.cs" />
    </sourcefiles>
    <targetfiles>
        <include name="myfile.dll" />
    </targetfiles>
</uptodate>