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

android - questions about switching from C2DM to GCM -

c++ - Qt setGeometry: Unable to set geometry -

batch file - How to extract all multi-volume RAR archives from subfolders of a folder? -