current date and time in android

current date and time in android
refe‮r‬ to:lautturi.com
String currentDateTimeString = java.text.DateFormat.getDateTimeInstance().format(new Date());
Created Time:2017-09-11 22:29:37  Author:lautturi