Syncfusion.SfShared.Wpf


date time value

ToDateTime Method (DateTimeExtension)

Converts the specified object representation of date and time to its System.DateTime equivalent.
Syntax
'Declaration
 
<ExtensionAttribute()>
Public Shared Function ToDateTime( _
   ByVal dateTime As Object _
) As Date
'Usage
 
Dim dateTime As Object
Dim value As Date
 
value = DateTimeExtension.ToDateTime(dateTime)
[Extension()]
public static DateTime ToDateTime( 
   object dateTime
)

Parameters

dateTime
date time value

Return Value

Returns the System.DateTime of the given object
AssemblyVersion

Syncfusion.SfShared.Wpf: 17.3460.0.26

See Also