I need the get the current date like "yyyy-mm-dd" so not the hours and minutes. And I need the current day 24hours futher so 1 day futher.
I need it in my fql query this is my query:
String FQL + = .... AND start_time<'" + startTime + "' AND start_time>'" + endTime + "' LIMIT 25"
I'm doing this with this code but it doesn't work:
Date myDate = new Date();
Date endTime = new Date(myDate.getTime() + 86400000L);
Date startTime = new Date(myDate.getTime());