android - .SQLiteException: near “00”: syntax error (code 1): , while compiling: -


i new android, , tried compare 2 date strings, this, don't know how solve.. here part of code have mistake

int year=calendar.getinstance().get(calendar.year)+1900;  int month=calendar.getinstance().get(calendar.month)+1;  int day=calendar.getinstance().get(calendar.day_of_month);  dbreminders bazadelete=new dbreminders(context);  bazadelete.open();  bazadelete.deletereminder("date<"+year+"-"+month+"-"+day+" 00:00 am");  bazadelete.close();  podsetniciadapter.notifydatasetchanged(); 


Comments

Popular posts from this blog

c# - Better 64-bit byte array hash -

webrtc - Which ICE candidate am I using and why? -

php - Zend Framework / Skeleton-Application / Composer install issue -