Share via


ToDate Method (Object)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Converts an object to a DateTime value.

Namespace:  Microsoft.VisualBasic.CompilerServices
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

Syntax

'Declaration
Public Shared Function ToDate ( _
    Value As Object _
) As DateTime
public static DateTime ToDate(
    Object Value
)
public:
static DateTime ToDate(
    Object^ Value
)
static member ToDate : 
        Value:Object -> DateTime 
public static function ToDate(
    Value : Object
) : DateTime

Parameters

Return Value

Type: System. . :: . .DateTime
The DateTime value of the object.

.NET Framework Security

See Also

Reference

Conversions Class

ToDate Overload

Microsoft.VisualBasic.CompilerServices Namespace