Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- long now = System.currentTimeMillis();
- SimpleDateFormat format = new SimpleDateFormat("MMM dd,yyyy HH:mm");
- Date resultdate = new Date(now);
- String date = format.format(resultdate)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement