MockHero

timezone

Location

Generate valid IANA timezone strings appropriate for the locale. German locale returns 'Europe/Berlin', not 'America/New_York'. Region-aware by default.

Example Outputs

Europe/BerlinAmerica/New_YorkAsia/TokyoAustralia/Sydney

API Usage

Send a POST request to generate timezone 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": "timezone",
          "type": "timezone"
        }
      ]
    }
  ]
}'

Common Use Cases

  • User preferences seeding
  • Scheduling app testing
  • Time display testing
  • Calendar integration testing

Quick Info

Field Type
timezone
Category
Location
Parameters
None required
Output Format
JSON, CSV, SQL

Try it now

Generate timezone data instantly in the playground.

Generate Timezone + 155 more types via API

One API call. Multiple tables. Relational integrity. Free tier included.

Get Started Free