回答編集履歴
1
ゴミ除去
answer
CHANGED
@@ -2,12 +2,6 @@
|
|
2
2
|
なので+1してください。
|
3
3
|
時刻が違うのはわかりません。
|
4
4
|
|
5
|
-
myMsgs[i].slice(-1)[0].getDate().getMonth()
|
6
|
-
myMsgs[i].slice(-1)[0].getDate().getDate()
|
7
|
-
myMsgs[i].slice(-1)[0].getDate().getHours()
|
8
|
-
myMsgs[i].slice(-1)[0].getDate().getMinutes()
|
9
|
-
|
10
|
-
|
11
5
|
上記以外にコードに誤りは見つけられませんでしたが、何度も`myMsgs[i].slice(-1)[0].getDate()`を書いているのは冗長なので、
|
12
6
|
```GAS
|
13
7
|
let date = myMsgs[i].slice(-1)[0].getDate();
|