// get current date(today) in android String date = new SimpleDateFormat("yyyy-MM-dd", Locale.getDefault()).format(new Date());