Long時間戳轉換成時間,顯示1970年

public static void main(String[] args) { SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss"); Date date = new Date(1562205642); System.out.printf(s
相關文章
相關標籤/搜索