Query input date instead of SCP timestamp

Query input date instead of SCP timestamp

I am trying to get a query built that I can enter simple dates into rather than the timestamp that SCP uses for calculations.

I have tried the following

  1. (UNIX_TIMESTAMP(DATE('2013-01-01 00:00:00')) * 1000))
and
  1. (UNIX_TIMESTAMP(STR_TO_DATE('2013-01-01 00:00:00')) * 1000)

But I get exceptions such as:  java.sql.SQLException: 'DATE' is not a recognized built-in function name






                New to ADSelfService Plus?