質問編集履歴
1
書式変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
String str = "2017/02/06/15:29:07"
|
6
6
|
|
7
|
-
SimpleDateFormat sdf = new SimpleDateFormat("yyyy/MM/dd");
|
7
|
+
SimpleDateFormat sdf = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
|
8
8
|
|
9
9
|
Date = new Timestamp(sdf.parse(str).getTime());
|
10
10
|
|