java把字符串轉換成日期格式

public static void main(String[] args) throws Exception{ Date date = new SimpleDateFormat("yyyy-MM-dd").parse("2005-06-09"); String now = new SimpleDateFormat("yyyy年MM月dd日").format(date); System.ou
相關文章
相關標籤/搜索