convert from datetimes to double
조회 수: 40(최근 30일)
I have created a variable called P_D and I want to put into it a date time asociated with each row (its financial data)
When I run the code it is saying:
The following error occurred converting from datetime to double:
Undefined function 'double' for input arguments of type 'datetime'. To convert from datetimes to numeric, first subtract off a
datetime origin, then convert to numeric using the SECONDS, MINUTES, HOURS, DAYS, or YEARS functions.
Error in test2 (line 38)
How do I convert to numeric? '09-Jul-2019 02:25:00'