I am getting a time value from one sheet (A) and putting in another sheet (B), some 32 minutes are getting added to the time value in sheet (B). Here is the code:
function pushRow() {
var ss = SpreadsheetApp.getActive();
var s1 = ss.getSheetByName ("Sheet1");
var s2 = ss.getSheetByName("Sheet2");
var data = s1.getRange("A2:C2").getValues();
s2.appendRow(data[0]);
}
Here is the screenshot of both the sheets:
- Sheet (A):
- Sheet (B):