Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Test {
- public static void main(String[] args) {
- long time2 = 1491241218560L ;
- Date date = new Date(time2);
- SimpleDateFormat dateFormat = new SimpleDateFormat("MMM DD, yyyy");
- System.out.println(dateFormat.format(date));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement