Converts a variant of type unsigned long to date.
The return value obtained from the returned HRESULT is one of the following.
The input parameter is not a valid type of variant.
The data pointed to by the output parameter does not fit in the destination type.
The argument could not be coerced to the specified type.
One of the arguments is invalid.
Memory could not be allocated for the conversion.