how to get current time android studio code example
Example 1: code to get date and time in android
SimpleDateFormat.getDateTimeInstance().format(Date())
Example 2: code to get date and time in android
SimpleDateFormat.getTimeInstance().format(Date())