解析日期时间

解析输入数据,并以结构化、便于审查的形式显示结果。

输入: 文本结果: 在沙盒中预览的 HTML

文本输入

运行后查看结果

案例

Read a UTC new-year clock 1

Read a UTC new-year clock 1. This is a constructed public fixture.

输入

01/01/2025 12:34:56

Expected checks

Case-insensitive
Contains "2025"
Contains "12:34:56"
Contains "UTC"
内置格式
Standard date and time
输入格式字符串
DD/MM/YYYY HH:mm:ss
输入时区
UTC
Read a UTC new-year clock 2

Read a UTC new-year clock 2. This is a constructed public fixture.

输入

02/01/2025 12:34:56

Expected checks

Case-insensitive
Contains "2025"
Contains "12:34:56"
Contains "UTC"
内置格式
Standard date and time
输入格式字符串
DD/MM/YYYY HH:mm:ss
输入时区
UTC
Read a UTC new-year clock 3

Read a UTC new-year clock 3. This is a constructed public fixture.

输入

03/01/2025 12:34:56

Expected checks

Case-insensitive
Contains "2025"
Contains "12:34:56"
Contains "UTC"
内置格式
Standard date and time
输入格式字符串
DD/MM/YYYY HH:mm:ss
输入时区
UTC
Read a UTC new-year clock 4

Read a UTC new-year clock 4. This is a constructed public fixture.

输入

04/01/2025 12:34:56

Expected checks

Case-insensitive
Contains "2025"
Contains "12:34:56"
Contains "UTC"
内置格式
Standard date and time
输入格式字符串
DD/MM/YYYY HH:mm:ss
输入时区
UTC
Read a UTC new-year clock 5

Read a UTC new-year clock 5. This is a constructed public fixture.

输入

05/01/2025 12:34:56

Expected checks

Case-insensitive
Contains "2025"
Contains "12:34:56"
Contains "UTC"
内置格式
Standard date and time
输入格式字符串
DD/MM/YYYY HH:mm:ss
输入时区
UTC

相关工具

日期 / 时间

操作参考

查看原始技术文档 (English)