Created
April 28, 2014 06:19
-
-
Save mzdakr/11363049 to your computer and use it in GitHub Desktop.
Google SpreadSheet に時刻を追記する関数
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function doFunction() | |
{ | |
var ss = SpreadsheetApp.openById("XXXXXXXXXXXXXXXXXXXXXXXXXXXX"); //SpredsheetのIDに書き換えてください | |
var sheet = ss.getSheetByName('sheetname'); | |
sheet.appendRow([Utilities.formatDate(new Date(), "Asia/Tokyo", "yyyy/MM/dd HH:mm:ss")]); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment