//Use this function like as follow: this will not change the original array if you want to change original than assign the return value to the original array Where I use var temp_ar use each_arr instead for the change in original.
$(".radio1").on('change', function(event, state) {
var idarr = $(this).data("id");
var temp_ar = move(each_arr,idarr, 0);
console.log(temp_ar);
});
我无法执行此查询 -
fdayp = "2018-04-18 00:00:00.0"
and tdaym= "2017-10-20 00:00:00.0"
and start_date = "18-Jan-2018".
答案 0 :(得分:1)
如果您需要使用日期,您只需使用ANSI格式的日期(没有小时,分钟,秒):
select count(*)
from a_detail
where start_date BETWEEN date '2017-10-20' and date '2018-04-18'
此外,请注意您在BETWEEN
中使用日期的顺序:参数必须为begin date
,end date
。