Monday, March 26, 2012

SimpleDateFormat


SimpleDateFormat

Usage of SimpleDateFormat:

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

No comments: