const opTMP1 = this.opTMP.map(x => Object.assign({}, x)); let d = newDate(op.DATAI);...但在控制台中我得到了不同的结果,一个是GMT+0300,一个是GMT+0200:d: Thu Oct 31 2019 00:00:00 GMT+0200 (Eastern European Standard Time)
因为
我有一个google脚本(如下所示),它检查列N (14)中的单元格何时更新,然后在相邻单元格的列O中放置一个时间戳。但是,我在设置时间戳的格式时遇到了问题。目前时间戳是正确的日期格式,但是,时间格式不是GMT,而似乎是GMT-8。nextCell.getValue() === '' ) //Checks if the column for the timestamp is empty
nextCell.setValue(newDate</