Feb 22, 2011

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

Infolinks In Text Ads