使用例
A UTC date as ISO 8601 1
A UTC date as ISO 8601 1. This is a constructed public fixture.
入力
01/01/2025 12:34:56Expected answer
2025-01-01T12:34:56Z2025-01-01T12:34:56Z
- 内蔵フォーマット
Standard date and time- 入力形式文字列
DD/MM/YYYY HH:mm:ss- 入力タイムゾーン
UTC- 出力形式文字列
YYYY-MM-DD[T]HH:mm:ss[Z]- 出力タイムゾーン
UTC
A UTC date as ISO 8601 2
A UTC date as ISO 8601 2. This is a constructed public fixture.
入力
02/01/2025 12:34:56Expected answer
2025-01-02T12:34:56Z2025-01-02T12:34:56Z
- 内蔵フォーマット
Standard date and time- 入力形式文字列
DD/MM/YYYY HH:mm:ss- 入力タイムゾーン
UTC- 出力形式文字列
YYYY-MM-DD[T]HH:mm:ss[Z]- 出力タイムゾーン
UTC
A UTC date as ISO 8601 3
A UTC date as ISO 8601 3. This is a constructed public fixture.
入力
03/01/2025 12:34:56Expected answer
2025-01-03T12:34:56Z2025-01-03T12:34:56Z
- 内蔵フォーマット
Standard date and time- 入力形式文字列
DD/MM/YYYY HH:mm:ss- 入力タイムゾーン
UTC- 出力形式文字列
YYYY-MM-DD[T]HH:mm:ss[Z]- 出力タイムゾーン
UTC
A UTC date as ISO 8601 4
A UTC date as ISO 8601 4. This is a constructed public fixture.
入力
04/01/2025 12:34:56Expected answer
2025-01-04T12:34:56Z2025-01-04T12:34:56Z
- 内蔵フォーマット
Standard date and time- 入力形式文字列
DD/MM/YYYY HH:mm:ss- 入力タイムゾーン
UTC- 出力形式文字列
YYYY-MM-DD[T]HH:mm:ss[Z]- 出力タイムゾーン
UTC
A UTC date as ISO 8601 5
A UTC date as ISO 8601 5. This is a constructed public fixture.
入力
05/01/2025 12:34:56Expected answer
2025-01-05T12:34:56Z2025-01-05T12:34:56Z
- 内蔵フォーマット
Standard date and time- 入力形式文字列
DD/MM/YYYY HH:mm:ss- 入力タイムゾーン
UTC- 出力形式文字列
YYYY-MM-DD[T]HH:mm:ss[Z]- 出力タイムゾーン
UTC
Translate DateTime Format
入力
01/04/1999 22:33:01Expected answer
Thursday 1st April 1999 22:33:01 +00:00 UTCThursday 1st April 1999 22:33:01 +00:00 UTC
- 内蔵フォーマット
Standard date and time- 入力形式文字列
DD/MM/YYYY HH:mm:ss- 入力タイムゾーン
UTC- 出力形式文字列
dddd Do MMMM YYYY HH:mm:ss Z z- 出力タイムゾーン
UTC
automatic input format
入力
1999-04-01 22:33:01Expected answer
Thursday 1st April 1999 22:33:01 +00:00 UTCThursday 1st April 1999 22:33:01 +00:00 UTC
- 内蔵フォーマット
Automatic- 入力形式文字列
(empty)- 入力タイムゾーン
UTC- 出力形式文字列
dddd Do MMMM YYYY HH:mm:ss Z z- 出力タイムゾーン
UTC
invalid input
入力
1234567890Expected rejection
Message matches patternInvalid format.- 内蔵フォーマット
Standard date and time- 入力形式文字列
DD/MM/YYYY HH:mm:ss- 入力タイムゾーン
UTC- 出力形式文字列
dddd Do MMMM YYYY HH:mm:ss Z z- 出力タイムゾーン
UTC
timezone conversion
入力
01/04/1999 22:33:01Expected answer
Thursday 1st April 1999 17:33:01 -05:00 ESTThursday 1st April 1999 17:33:01 -05:00 EST
- 内蔵フォーマット
Standard date and time- 入力形式文字列
DD/MM/YYYY HH:mm:ss- 入力タイムゾーン
UTC- 出力形式文字列
dddd Do MMMM YYYY HH:mm:ss Z z- 出力タイムゾーン
US/Eastern