Examples
Read a UTC new-year clock 1
Read a UTC new-year clock 1. This is a constructed public fixture.
Input
01/01/2025 12:34:56Expected checks
Case-insensitiveContains "2025"
Contains "12:34:56"
Contains "UTC"- Built in formats
Standard date and time- Input format string
DD/MM/YYYY HH:mm:ss- Input timezone
UTC
Read a UTC new-year clock 2
Read a UTC new-year clock 2. This is a constructed public fixture.
Input
02/01/2025 12:34:56Expected checks
Case-insensitiveContains "2025"
Contains "12:34:56"
Contains "UTC"- Built in formats
Standard date and time- Input format string
DD/MM/YYYY HH:mm:ss- Input timezone
UTC
Read a UTC new-year clock 3
Read a UTC new-year clock 3. This is a constructed public fixture.
Input
03/01/2025 12:34:56Expected checks
Case-insensitiveContains "2025"
Contains "12:34:56"
Contains "UTC"- Built in formats
Standard date and time- Input format string
DD/MM/YYYY HH:mm:ss- Input timezone
UTC
Read a UTC new-year clock 4
Read a UTC new-year clock 4. This is a constructed public fixture.
Input
04/01/2025 12:34:56Expected checks
Case-insensitiveContains "2025"
Contains "12:34:56"
Contains "UTC"- Built in formats
Standard date and time- Input format string
DD/MM/YYYY HH:mm:ss- Input timezone
UTC
Read a UTC new-year clock 5
Read a UTC new-year clock 5. This is a constructed public fixture.
Input
05/01/2025 12:34:56Expected checks
Case-insensitiveContains "2025"
Contains "12:34:56"
Contains "UTC"- Built in formats
Standard date and time- Input format string
DD/MM/YYYY HH:mm:ss- Input timezone
UTC
Period (AM/PM) Timezone UTC offset Daylight Saving Time Leap year Days in this month Day of year Week number Quarter Run with no input to see format string examples if required.
Format reference: Parse DateTime background and specification