Esempi
A UTC date as ISO 8601 1
A UTC date as ISO 8601 1. This is a constructed public fixture.
Input
01/01/2025 12:34:56Expected answer
2025-01-01T12:34:56Z2025-01-01T12:34:56Z
- Formati integrati
Standard date and time- Stringa del formato di input
DD/MM/YYYY HH:mm:ss- Fuso orario di input
UTC- Stringa del formato di Output
YYYY-MM-DD[T]HH:mm:ss[Z]- Fuso orario dell'Output
UTC
A UTC date as ISO 8601 2
A UTC date as ISO 8601 2. This is a constructed public fixture.
Input
02/01/2025 12:34:56Expected answer
2025-01-02T12:34:56Z2025-01-02T12:34:56Z
- Formati integrati
Standard date and time- Stringa del formato di input
DD/MM/YYYY HH:mm:ss- Fuso orario di input
UTC- Stringa del formato di Output
YYYY-MM-DD[T]HH:mm:ss[Z]- Fuso orario dell'Output
UTC
A UTC date as ISO 8601 3
A UTC date as ISO 8601 3. This is a constructed public fixture.
Input
03/01/2025 12:34:56Expected answer
2025-01-03T12:34:56Z2025-01-03T12:34:56Z
- Formati integrati
Standard date and time- Stringa del formato di input
DD/MM/YYYY HH:mm:ss- Fuso orario di input
UTC- Stringa del formato di Output
YYYY-MM-DD[T]HH:mm:ss[Z]- Fuso orario dell'Output
UTC
A UTC date as ISO 8601 4
A UTC date as ISO 8601 4. This is a constructed public fixture.
Input
04/01/2025 12:34:56Expected answer
2025-01-04T12:34:56Z2025-01-04T12:34:56Z
- Formati integrati
Standard date and time- Stringa del formato di input
DD/MM/YYYY HH:mm:ss- Fuso orario di input
UTC- Stringa del formato di Output
YYYY-MM-DD[T]HH:mm:ss[Z]- Fuso orario dell'Output
UTC
A UTC date as ISO 8601 5
A UTC date as ISO 8601 5. This is a constructed public fixture.
Input
05/01/2025 12:34:56Expected answer
2025-01-05T12:34:56Z2025-01-05T12:34:56Z
- Formati integrati
Standard date and time- Stringa del formato di input
DD/MM/YYYY HH:mm:ss- Fuso orario di input
UTC- Stringa del formato di Output
YYYY-MM-DD[T]HH:mm:ss[Z]- Fuso orario dell'Output
UTC
Translate DateTime Format
Input
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
- Formati integrati
Standard date and time- Stringa del formato di input
DD/MM/YYYY HH:mm:ss- Fuso orario di input
UTC- Stringa del formato di Output
dddd Do MMMM YYYY HH:mm:ss Z z- Fuso orario dell'Output
UTC
automatic input format
Input
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
- Formati integrati
Automatic- Stringa del formato di input
(empty)- Fuso orario di input
UTC- Stringa del formato di Output
dddd Do MMMM YYYY HH:mm:ss Z z- Fuso orario dell'Output
UTC
invalid input
Input
1234567890Expected rejection
Message matches patternInvalid format.- Formati integrati
Standard date and time- Stringa del formato di input
DD/MM/YYYY HH:mm:ss- Fuso orario di input
UTC- Stringa del formato di Output
dddd Do MMMM YYYY HH:mm:ss Z z- Fuso orario dell'Output
UTC
timezone conversion
Input
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
- Formati integrati
Standard date and time- Stringa del formato di input
DD/MM/YYYY HH:mm:ss- Fuso orario di input
UTC- Stringa del formato di Output
dddd Do MMMM YYYY HH:mm:ss Z z- Fuso orario dell'Output
US/Eastern