Responder Developer Guide
ToDateTime(Object) Method


Version: 10.2.1a

Resource Center Home

A value to convert
DBNull and null aware conversion to DateTime
Syntax
'Declaration
 
Public Overloads Shared Function ToDateTime( _
   ByVal value As Object _
) As Nullable(Of Date)
'Usage
 
Dim value As Object
Dim value As Nullable(Of Date)
 
value = DbConvert.ToDateTime(value)
public static Nullable<DateTime> ToDateTime( 
   object value
)

Parameters

value
A value to convert

Return Value

The DateTime? equivalent of the input value, if it is null then the return value will be null
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