API Testing · Junior · Question 51 of 75
What should you test about date fields in an API?
- 1Format (e.g. ISO 8601), time zones and invalid dates
- 2Only that the date field is present in the body
- 3That dates are always returned as plain numbers
Show the answer
Correct answer: Format (e.g. ISO 8601), time zones and invalid dates
Explanation
Dates like 2026-02-30, missing time zones and daylight saving changes cause many bugs between systems.