TouchTask.

Datetime Property

Summary

Specifies the new modification time of the file in the format MM/DD/YYYY HH:MM:SS.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Tasks
Containing Type
TouchTask

Syntax

[TaskAttribute("datetime")]
[DateTimeValidator()]
public DateTime Datetime { get; set; }

Attributes

Type Description
TaskAttributeAttribute Indicates that property should be treated as a XML attribute for the task.
DateTimeValidatorAttribute Used to indicate that a property should be able to be converted into a System.DateTime.

Value

Type Description
DateTime