Android‎ > ‎

Date to String : Android

posted Feb 16, 2013, 10:33 AM by Akash Khaitan   [ updated Mar 9, 2013, 7:34 AM ]
SimpleDateFormat sdfDateTime = new SimpleDateFormat("yyyy-MM-dd-HH-mm-ss", Locale.US);
String newtime =  sdfDateTime.format(new Date(System.currentTimeMillis()));


Comments