public static DateTime ToDateTime( object parseValue, DateTime defaultValue )
Parameters
- parseValue
- The input value to parse
- defaultValue
- The default value to return in case of failure to convert the given input
Return Value
The converted DateTime value