Test Date Generator — Dummy Dates for Fixtures

Generate synthetic dates, datetimes, and times for databases, fixtures, and form tests. Not a calendar, countdown, or timestamp converter.

Loading…
Test dates — developer notes
Synthetic date, datetime, and time strings for fixtures and DB seed. UTC only. Not a calendar, countdown, or timestamp converter.

How generation works

Pick a quantity (1–100), kind, range, format, and order. Changing an option refreshes the list immediately. Copy all or download JSON, CSV, SQL, or TXT. All instants are UTC; datetime ISO strings end with Z.

Options

Quantity (1–100)
How many rows to emit for seed jobs. Capped at 100.
Kind
date emits YYYY-MM-DD for DATE columns and HTML date inputs. datetime (default) emits timestamptz-shaped instants ending with Z. time emits HH:mm:ss and ignores the calendar range.
Range
Inclusive UTC window from today: last 30/365 days, next 365 days, around now (±30 days), adult DOB (ages 18–80), or a custom from/to. Custom from > to yields no rows. adultDob does not switch kind.
Format
Visible encodings depend on kind. ISO datetime is the datetime default (RFC 3339 Z profile). Date-kind also offers named DMY presets (17.03.2026 / 17/03/2026) — not a custom token field. SQL DATETIME has no timezone suffix. Unix for date-kind is UTC midnight of that day. Locale uses the page language via Intl.
Order
random (default) scatters values. ascending sorts oldest first so created_at seed looks true under ORDER BY. descending sorts newest first (ORDER BY DESC).

Examples

Default created_at

Settings

kind=datetime, range=last365d, format=isoDateTime

Sample output

2026-03-17T14:25:53Z

Adult DOB as DATE

Settings

kind=date, range=adultDob, format=isoDate

Sample output

1987-11-04

Related tools

Need matching field columns or a JSON table? Try the test email generator, test phone number generator, test name generator, JSON test data generator, or UUID generator.

Test date FAQ

Fixtures, UTC, and what this tool is not

I searched for a random date generator. Is this it?

If you need dummy dates for fixtures, DB seed, and form QA, yes. If you need a party picker or a single lucky day, this page will not do that — it generates a pasteable list for developers.

Is this a fake date generator or birthday generator?

It emits synthetic dates, including an adult-DOB range (ages 18–80). It does not look up famous birthdays, zodiac, or holiday names. Generated dates can coincidentally match a real birth date.

Is this a unix timestamp converter?

No. You can format output as Unix seconds or milliseconds for fixtures, but this is not a live clock or epoch converter. For converting a real timestamp, use a dedicated converter.

Why is kind=date Unix midnight UTC?

A DATE has no time-of-day. Unix for date-kind is Date.UTC(y, m-1, d, 0, 0, 0) so seed jobs get a stable midnight instant. Datetime Unix is the instant itself. Time-kind Unix is seconds from midnight (0–86399), not an epoch.

Test Data

Synthetic field values for fixtures and DB seed — reserved-range phone numbers first.

Explore other tool categories

Minify

Shrink code and assets for production — minify JavaScript, CSS, HTML, JSON and XML before gzip or CDN deploy.

Beautify

Make code readable with consistent indentation — beautify JavaScript, CSS, TypeScript, SCSS, LESS, Markdown, GraphQL, SQL, YAML and more in your browser.

Unminify

Expand minified or compressed code — unminify JavaScript, CSS, TypeScript, SCSS, LESS, SQL, YAML and other formats when debugging or reviewing.

Conversion

Transform data between JSON, YAML, XML and CSV locally — no server uploads.

CSS preprocessors

Compile SCSS or LESS to standard CSS in the browser — pair with beautify or minify for a full stylesheet workflow.

JSON Tools

Validate, format, diff and explore JSON payloads — complementary to minifiers and converters.

SVG Tools

Preview, optimize with SVGO, export Data URI, resize, beautify, convert to JSX and validate SVG — all in your browser.

DevOps & Infra

Terraform HCL format/validate/minify, Dockerfile format & lint, Docker Compose and .env validation.

CI/CD

GitHub Actions and GitLab CI — format YAML and check workflow/job structure in your browser.

Logs & observability

Line-oriented JSON/NDJSON and Nginx/Apache access logs — format, filter, validate, and CSV/TSV.

Kubernetes

Multi-doc manifests, structural validate, Ingress/Deployment starters, and Helm values formatting.

Networking / IP

CIDR, subnets, and IPv4/IPv6 helpers — in your browser.

Security & tokens

JWKS, X.509 certificates, and secrets scan — browser-local.

API & schemas

OpenAPI tools to format, validate, and lint your specs.

Encoding

Encode or decode Base64, URL components and HTML entities — client-side only.

Developer utilities

Timestamps, UUID, ULID, Nanoid, cron, passwords, regex, slugify, number bases, case, text diff, and chmod — all client-side.

Text & Markdown

Count words, build Markdown TOCs, and clean line lists — all in your browser.

AI & LLM

Token counting, pricing estimates, and context-window fit — 100% browser-local.

Serialization

Serialize and deserialize PHP data structures beside JSON workflows.