date_past
TemporalGenerate dates guaranteed to be in the past. For created_at timestamps, historical records, and any field representing something that already happened.
Example Outputs
2023-09-222024-01-152022-06-30API Usage
Send a POST request to generate past date data:
curl -X POST https://mockhero.dev/api/v1/generate \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"tables": [
{
"name": "example",
"count": 5,
"fields": [
{
"name": "date_past",
"type": "date_past"
}
]
}
]
}'Common Use Cases
- created_at fields
- Historical data seeding
- Audit log generation
- Past event records
Quick Info
- Field Type
- date_past
- Category
- Temporal
- Parameters
- None required
- Output Format
- JSON, CSV, SQL
Related Types
Generate Past Date + 155 more types via API
One API call. Multiple tables. Relational integrity. Free tier included.