How to get current date in android? [duplicate]

String date = new SimpleDateFormat("yyyy-MM-dd").format(new Date());

Leave a Comment