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 पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.