Generate date and time data
Generates synthetic date, calendar, and time-zone data via 11 different methods:
- anytime: Random date in past or future
- between: Date between two boundaries
- betweens: Multiple dates between boundaries
- birthdate: Realistic birthdate based on age or year
- future: Future date within specified years
- past: Past date within specified years
- recent: Recent past date within days
- soon: Near future date within days
- month: Random month name (with localisation)
- weekday: Random weekday name (with localisation)
- timeZone: Random IANA time-zone identifier
Date methods return ISO 8601 formatted dates in UTC. Date boundary inputs such as from, to, and refDate must be ISO 8601 date-time strings with a time-zone offset, such as 2024-01-01T00:00:00.000Z; date-only strings such as 2024-01-01 are rejected. Month, weekday, and timeZone methods return strings.
Authorizations
Bearer token authentication. Use format: Bearer YOUR_API_KEY
Body
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
- Option 7
- Option 8
- Option 9
- Option 10
- Option 11
anytime Number of dates to generate (1-100). Passed as string but must be numeric.
^[1-9]\d?$|^100$"10"
Locale for generated data (e.g., en, es, fr, de, pt_BR, zh_CN)
"en"
Seed for deterministic generation. Same seed produces same results.
"12345"
Reference date in ISO format
"2024-01-01T00:00:00.000Z"