How to get current time and date in Android
android, date, time
Solution
You could use:
import java.util.Calendar;
import java.util.Date;
Date currentTime = Calendar.getInstance().getTime();
There are plenty of constants in Calendar for everything you need.
Check the Calendar class documentation.
Problem
How can I get the current time and date in an Android app?