You should always use the Calendar class so that you can deal with timezones properly. With that in mind, try something like this:
Calendar now = Calendar.getInstance();
SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd");
format.setCalendar(now);
String nowStr = format.format(now.getTime());
You can also do other cool stuff like parse a string to create a Date.