【问题标题】:How to write a date/time value?如何写日期/时间值?
【发布时间】:2017-07-25 16:31:28
【问题描述】:

date/time format tokens 看起来很简单。但是,如何使用它们将日期值写入使用 spreadsheets.values.append method 的单元格?

(我在 Node.js 中编码。)

【问题讨论】:

    标签: node.js google-sheets-api


    【解决方案1】:

    你不能。值 API 仅用于编写值本身,而不是格式。如果要编写格式,则需要使用spreadsheets.batchUpdate 方法,可以使用UpdateCellsRequestRepeatCellRequestAppendCellsRequest

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2017-11-02
      • 1970-01-01
      • 1970-01-01
      • 2014-02-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多