掲題の通りなのですが
String str = "2017/02/06/15:29:07" SimpleDateFormat sdf = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss"); Date = new Timestamp(sdf.parse(str).getTime());
↑だと
"2017/02/06/00:00:00"になってしまいます。
「2017/02/06/15:29:07」にしたいのです。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/12/18 01:14