Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
- Date date = new Date();
- System.out.println(dateFormat.format(date)); //2014/08/06 15:59:48
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement