Converts the specified
System.DateTime
to its equivalent
string representation.
Remarks
value is formatted with the
System.Globalization.DateTimeFormatInfo
for the invariant culture.
string datetime::to-string(value)
Parameters
Name | Type | Description |
---|---|---|
value | DateTime | A System.DateTime to convert. |
Return Value
A string representation of value formatted using
the general format specifier ("G").
Requirements
- Assembly
- NAnt
.Core .dll - Namespace
-
NAnt
.Core .Functions