原创 String類型與Date日期類型互相轉換

java.text.SimpleDateFormat   formatter   =  new   SimpleDateFormat( "yyyy-MM-dd "); String date = formatter.format(n