Monday, July 16, 2012

SimpleDateFormat


Usage of SimpleDateFormat:

SimpleDateFormat formatter = new SimpleDateFormat("dd MMM yyyy  hh:mm:ss a"); 
String now = formatter.format(new Date());

No comments:

Post a Comment