0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Google Apps Script(GAS) の new Date() で日本時間を取得する方法

Posted at

GAS はデフォルトだとニューヨーク時間になっているので、東京時間に変更しておく。

プロジェクト設定から「appsscript.json」マニフェスト ファイルをエディタで表示する」にチェックを入れる。

timeZoneを変更する。

appsscript.json
America/New_York
↓
Asia/Tokyo

b.jpg

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?