Summary
Converts the specified System.DateTime
to its equivalent
string representation.
Syntax
[Function("to-string")]
public static string ToString(DateTime value)
value is formatted with the
System.Globalization.DateTimeFormatInfo
for the invariant culture.
Attributes
Type |
Description |
FunctionAttribute |
Indicates that the method should be exposed as a function in NAnt build
files.
|
Parameters
Name |
Type |
Description |
value |
DateTime |
A System.DateTime to convert. |
Return Value
Type |
Description |
string |
A string representation of value formatted using
the general format specifier ("G").
|