Getting this error when running Management Pack [Microsoft][ODBC SQL Server Driver][SQL Server] Implicit conversion from data type datetime to int is not allowed. Use the CONVERT function to run this query

Getting this error when running Management Pack [Microsoft][ODBC SQL Server Driver][SQL Server] Implicit conversion from data type datetime to int is not allowed.  Use the CONVERT function to run this query