---
title: "Unix Timestamp Converter"
method: GET
path: "/api/calc/unix-timestamp-converter"
tags: ["DateTime"]
---

# Unix Timestamp Converter

`GET /api/calc/unix-timestamp-converter`

## Request

- Base URL: `https://calcbright.com`
- URL: `https://calcbright.com/api/calc/unix-timestamp-converter`
- Auth: none declared

1700000000 is 2023-11-14T22:13:20Z. Paste an epoch value in seconds or milliseconds to get a readable UTC and ISO 8601 date, or turn a date into a timestamp.

## Query parameters

- `mode` 'toDate' | 'toTs': Convert
- `ts` number: Unix timestamp Seconds or milliseconds – detected automatically. Empty = now.
- `dt` string: Date and time (UTC) Empty = now. (YYYY-MM-DDTHH:MM)

## Response `200`

Calculation result

- CalcOutput
  - `ok` boolean
  - `tool` string
  - `name` string
  - `url` string: Open this link to see the full calculation
  - `inputs` object
  - `summary` string: Plain-text answer
  - `details` string
  - `result` object
  - `errors` object

## Other responses

- `400`: Invalid input (see errors)

---

[API](https://skmtc.dev/calcbright/apis/calcbright-calculator-api.md) · [All operations](https://skmtc.dev/calcbright/apis/calcbright-calculator-api/llms.txt) · [OpenAPI document](https://skmtc.dev/calcbright/apis/calcbright-calculator-api/revisions/f58229e56e58?raw)
