HSTPC0024E The SQL data type of expression
sql_expression
is
sql_data_type;
expecting a time, timestamp, character string time, character
string timestamp, or interval expression.
Explanation
A non-time expression was used where a time
expression was expected.