I have been reading about sheet formats. I am using fetch and tokens to write data.
rows: [{
values: [
{
userEnteredValue: { numberValue: Math.round(new Date().getTime() / 1000) },
userEnteredFormat: {
numberFormat: {
type: 'DATE', pattern: 'ddd dd hh:mm'
}
}
}],
fields: 'userEnteredValue, userEnteredFormat'
}]
After posting the data when I click on the cell a calender shows but the time shown in not in the correct format its in epoc