質問編集履歴
1
訂正
title
CHANGED
File without changes
|
body
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
<script>
|
12
12
|
window.onload=function(){
|
13
13
|
d="2021/04/29 00:30:00";
|
14
|
-
alert(new Date(d).getTime());//
|
14
|
+
alert(new Date(d).getTime()/1000);//1619623800
|
15
15
|
}
|
16
16
|
</script>
|
17
17
|
```
|