I am trying to get all record from a speficic date shown below but it seems that the format of the dates are in Julian date (which I cannot change unfortunately)
order_date BETWEEN TO_DATE('2015/06/04 10:31:32', 'yyyy/mm/dd hh24:mi:ss') AND TO_DATE('2015/06/04 10:31:32', 'yyyy/mm/dd hh24:mi:ss')
I have received the error inconsistent datatypes: expected NUMBER got DATE. I think it is because of the format. I am unable to know how to convert the date above in the sql to a julian date. Thanks!
EDIT: Adding order_date sample date
order_date
1332168537
1332105720
1335616468
The same error. Because order_date is number and db expets number in betweene statement.
order_date is unix style date(secound since 1970). To convert try this.