【问题标题】:How can I format a string sheet to date with Query如何使用 Query 格式化字符串表
【发布时间】:2022-11-22 06:22:12
【问题描述】:

我在 googlesheet 上有一个列,我需要使用查询功能将其转换为日期时间。

Column A Column B
nome1 2022-11-17T13:41:47.431Z
name2 2022-11-17T13:41:47.431Z
Column A Column B
nome1 2022-11-17 13:41:47
name2 2022-11-17 13:41:47

【问题讨论】:

    标签: google-sheets-formula spreadsheet


    【解决方案1】:

    尝试:

    =INDEX(QUERY({A1:A, TEXT(REGEXREPLACE(B1:B,
     "[TZ]", " "), "e-mm-dd hh:mm:ss")}))
    

    【讨论】:

      猜你喜欢
      • 2013-03-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-01-01
      • 2018-12-20
      • 2017-11-03
      • 1970-01-01
      相关资源
      最近更新 更多