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
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.