跳转至

String to date(字符串转日期(String to date))

Convert a string into a date; for example, 18/07/2023 or July 18, 2023 into a time type. Set the timezone to be used to a custom timezone, local time, or UTC. Optionally, also provide the date format for parsing in Day.js ↗ format. American date format is used by default (mm/dd/yyyy). Will return Invalid timezone or date for invalid values.

Input type

String

Output type

Time

Usage information

Functionality Availability
Standard Quiver card Supported
Transform table transform Supported

中文翻译


字符串转日期(String to date)

将字符串转换为日期;例如,将 18/07/2023July 18, 2023 转换为时间类型。可设置时区为自定义时区、本地时间或 UTC。也可选择提供 Day.js ↗ 格式的日期解析格式。默认使用美式日期格式(mm/dd/yyyy)。对于无效值,将返回 Invalid timezone or date

输入类型

字符串(String)

输出类型

时间(Time)

使用信息

功能 可用性
标准 Quiver 卡片(Standard Quiver card) 支持
转换表转换(Transform table transform) 支持