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

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 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>