Conversions.ToDate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts specified object to a DateTime value.
Overloads
ToDate(Object) |
Converts an object to a DateTime value. |
ToDate(String) |
Converts a string to a DateTime value. |
ToDate(Object)
- Source:
- Conversions.vb
- Source:
- Conversions.vb
- Source:
- Conversions.vb
Converts an object to a DateTime value.
public:
static DateTime ToDate(System::Object ^ Value);
public static DateTime ToDate (object Value);
public static DateTime ToDate (object? Value);
static member ToDate : obj -> DateTime
Public Shared Function ToDate (Value As Object) As DateTime
Parameters
- Value
- Object
The object to convert.
Returns
The DateTime
value of the object.
Applies to
ToDate(String)
- Source:
- Conversions.vb
- Source:
- Conversions.vb
- Source:
- Conversions.vb
Converts a string to a DateTime value.
public:
static DateTime ToDate(System::String ^ Value);
public static DateTime ToDate (string Value);
public static DateTime ToDate (string? Value);
static member ToDate : string -> DateTime
Public Shared Function ToDate (Value As String) As DateTime
Parameters
- Value
- String
The string to convert.
Returns
The DateTime
value of the string.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.