我在java应用程序上工作,它与LinkedIn REST api一起工作。接口返回creationsTimestamp为number。我的问题是如何将它转换为常规约会。谢谢。
发布于 2015-02-23 05:02:48
Timestamp stamp = new Timestamp(System.currentTimeMillis());
Date date = new Date(stamp.getTime());
System.out.println(date);https://stackoverflow.com/questions/28662869
复制相似问题