Miner.Data.Access Namespace > DbConvert Class > ToDateTime Method : ToDateTime(Nullable<DateTime>,DateTime) Method |
'Declaration
Public Overloads Shared Function ToDateTime( _ ByVal value As System.Nullable(Of Date), _ ByVal nullValue As System.Date _ ) As System.Date
'Usage
Dim value As System.Nullable(Of Date) Dim nullValue As System.Date Dim value As System.Date value = DbConvert.ToDateTime(value, nullValue)
public static System.DateTime ToDateTime( System.Nullable<DateTime> value, System.DateTime nullValue )
public function ToDateTime( value: System.Nullable; nullValue: System.DateTime ): System.DateTime; static;
public static function ToDateTime( value : System.Nullable, nullValue : System.DateTime ) : System.DateTime;
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2