Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

Get time android

Calendar c = Calendar.getInstance();
        SimpleDateFormat sdf = new SimpleDateFormat("MMM dd, yyyy HH:mm:ss a");
        String strDate = sdf.format(c.getTime());
        Log.d("TAG","DATE : " + strDate);
 
PREVIOUS NEXT
Tagged: #Get #time #android
ADD COMMENT
Topic
Name
5+6 =