首页 文章

格式化Google App脚本中的当前时间

提问于
浏览
0

如何使用谷歌应用脚本设置当前时间?我很难找到时间文档 .

我能用毫秒来获得时间 .

(new Date()).getTime()

我_238425_m使用日期documentation . 我尝试过使用javascript中的 toLocaleTimeString() 但它没有在应用脚本中定义

1 回答

相关问题