- //solr 日期格式:
- SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'");
- //开始日期到结束日期
- String time = "createTime:["+sdf.format(new Date())+" TO "+sdf.format(new Date())+"]";
转载于:https://www.cnblogs.com/jekaysnow/p/5536864.html
转载于:https://www.cnblogs.com/jekaysnow/p/5536864.html