Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to get current date time in android

  SimpleDateFormat sdf = new SimpleDateFormat("ddMMyyyy_HHmmss", Locale.getDefault());
                String currentDateandTime = sdf.format(new Date());
                System.out.println("currentDateandTime" + currentDateandTime);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #current #date #time #android
ADD COMMENT
Topic
Name
1+8 =