Spread WinForms 15
FarPoint.CalcEngine Assembly / FarPoint.CalcEngine Namespace / CalcConvert Class / ToDateTime Method
Value to convert


ToDateTime Method
Converts the specified value to a DateTime value.
Syntax
'Declaration
 
Public Shared Function ToDateTime( _
   ByVal value As Object _
) As Date
 
'Usage
 
Dim value As Object
Dim value As Date
 
value = CalcConvert.ToDateTime(value)

Parameters

value
Value to convert

Return Value

DateTime value equivalent to the specified value
Exceptions
ExceptionDescription
Value cannot be converted.
See Also