Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9831

add timestamp to this code

$
0
0
  const values = [[new Date(), null, text]];  const firstBlankCell = sheet.getRange(sheet.getLastRow() + 1, 1);  firstBlankCell    .offset(0, 0, values.length, values[0].length)    .setValues(values)    .setNumberFormat('dd.MM.yyyy');

How do I add a timestamp in the format hh:mm:ss in column B (instead of "null")


Viewing all articles
Browse latest Browse all 9831

Latest Images

Trending Articles



Latest Images