π DateTime Format
The Questback Public API is based on the ISO 8601 standard for representing date and time values. This ensures consistency across all requests and responses.
All timestamps must be in UTC and follow this precise format:
yyyy-MM-ddTHH:mm:ss.fffZ
Format BreakdownCopied!
Component | Description | Example |
---|---|---|
yyyy |
Four-digit year | 2024 |
MM |
Two-digit month (01 = Jan, 12 = Dec) | 07 |
dd |
Two-digit day of the month | 20 |
T |
Separator between date and time | T |
HH |
Two-digit hour (24-hour format) | 15 |
mm |
Two-digit minutes | 30 |
ss |
Two-digit seconds | 45 |
fff |
Three-digit milliseconds | 123 |
Z |
UTC indicator (Zulu time) | Z |
Example ValuesCopied!
Date & Time (UTC) | Format |
---|---|
January 1, 2025, 15:30:45.123 UTC | 2025-01-01T15:30:45.123Z |
July 20, 2023, 08:05:00.456 UTC | 2023-07-20T08:05:00.456Z |
Usage in API RequestsCopied!
Example Request:
{
"since": "2025-01-01T15:30:45.123Z"
}
Example Response:
{
"createdAt": "2025-01-01T15:30:45.123Z"
}
π NotesCopied!
- All timestamps must be in UTC.
- The
Z
suffix is required to indicate UTC time. - Your system should handle local-to-UTC conversion as needed.