Bridge

Convert..::..ToDateTime Method

Overload List


  Name Description
Public method Static member ToDateTime(Object)
Converts the value of the specified object to a DateTime object. Note: Calling this method for built-in types (except [DateTime], [string]) always throws InvalidCastException.
Public method Static member ToDateTime(Object, IFormatProvider)
Converts the value of the specified object to a DateTime object, using the specified culture-specific formatting information. Note: Calling this method for built-in types (except [DateTime], [string]) always throws InvalidCastException.