Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Converts a DateTime value to a String value.
Namespace: Microsoft.VisualBasic.CompilerServices
Assembly: Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)
Syntax
'Declaration
Public Shared Function ToString ( _
Value As DateTime _
) As String
public static string ToString(
DateTime Value
)
public:
static String^ ToString(
DateTime Value
)
static member ToString :
Value:DateTime -> string
public static function ToString(
Value : DateTime
) : String
Parameters
- Value
Type: System. . :: . .DateTime
The DateTime value to convert.
Return Value
Type: System. . :: . .String
The String representation of the DateTime value.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.