Responder Developer Guide
ToDateTime(Object,DateTime) Method


Version: 10.2.1a

Resource Center Home

A value to convert
The conversion value for null and DBNull values
DBNull and null aware conversion to DateTime
Syntax
'Declaration
 
Public Overloads Shared Function ToDateTime( _
   ByVal value As Object, _
   ByVal nullValue As Date _
) As Date
'Usage
 
Dim value As Object
Dim nullValue As Date
Dim value As Date
 
value = DbConvert.ToDateTime(value, nullValue)
public static DateTime ToDateTime( 
   object value,
   DateTime nullValue
)

Parameters

value
A value to convert
nullValue
The conversion value for null and DBNull values

Return Value

The DateTime equivalent of the input value
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

DbConvert Class
DbConvert Members
Overload List

 

 


Send Comment