MockHero

timestamp

Temporal

Generate Unix timestamps (seconds since epoch). The standard numeric time representation used in databases and APIs worldwide.

Example Outputs

172094782116725312001735689600

Parameters

ParameterDescription
minEarliest date (ISO string)
maxLatest date (ISO string)

API Usage

Send a POST request to generate timestamp 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": "timestamp",
          "type": "timestamp",
          "params": {
            "min": 1,
            "max": 100
          }
        }
      ]
    }
  ]
}'

Common Use Cases

  • Database timestamp columns
  • API response mocking
  • Log entry generation
  • Cache expiry testing

Quick Info

Field Type
timestamp
Category
Temporal
Parameters
2 parameters
Output Format
JSON, CSV, SQL

Try it now

Generate timestamp data instantly in the playground.

Related Types

Generate Timestamp + 155 more types via API

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

Get Started Free