How to get current date in Android

31 Jan 2015, 11:42 AM

Android provides a Calendar class to get the current date and time.

Calendar c = Calendar.getInstance(); 

Date date = c.getTime();
About
How to get current date in Android Programmatically

Date Posted 31 Jan 2015, 11:02 AM
Author Brainy Solutions
Views 693
;