I work on java app which works with LinkedIn REST api. Api returns creationsTimestamp as number. My question is how to transform it into regular date. Thanks.
Asked
Active
Viewed 72 times
1 Answers
0
Timestamp stamp = new Timestamp(System.currentTimeMillis());
Date date = new Date(stamp.getTime());
System.out.println(date);
Nilnoc
- 101
- 1
- 13