NAnt SDK Documentation - v0.92 |
|
DateTimeConversionFunctions.ToString Method (DateTime)
Converts the specified DateTime to its equivalent string representation.
[Visual Basic]
<Function(Name:="to-string")>
Overloads Public Shared Function ToString( _
ByVal
value As
Date _
) As
String
[C#]
[Function(Name="to-string")]
public static
string ToString(
DateTime value);
Parameters
-
value
- A DateTime to convert.
Return Value
A string representation of value formatted using the general format specifier ("G").
Remarks
value is formatted with the DateTimeFormatInfo for the invariant culture.
See Also
DateTimeConversionFunctions Class | NAnt.Core.Functions Namespace | DateTimeConversionFunctions.ToString Overload List