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:
Post a Comment