datetime::parse

Converts the specified string representation of a date and time to its System.DateTime equivalent.

Remarks

The System.Globalization.DateTimeFormatInfo for the invariant culture is used to supply formatting information about s.
DateTime datetime::parse(s)

Parameters

Name Type Description
s string A string containing a date and time to convert.

Return Value

A System.DateTime equivalent to the date and time contained in s.

Requirements

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