Conversion from 'Date' to 'Double' requires calling the 'Date.ToOADate' method
You have attempted to cast a Date value to a Double value, which cannot be done without using the DateTime.ToOADate method.
Error ID: BC30532
To correct this error
- Use the DateTime.ToOADate method to convert the value.