# Timestamp Converter

Convert between Unix timestamps, ISO strings and local time.

## URL

https://ilham.dev/tools/timestamp-converter/

## What It Does

Convert between Unix timestamps, ISO 8601 strings and local time, in both directions. It handles seconds and milliseconds, which is the mix-up that produces dates in 1970 or in the year 55000.

## Features

- Runs in the browser
- No login required

## Input

text input.

## Output

text output.

## Privacy

Processing happens locally in the browser.

No input data is uploaded to ilham.dev.

- Requires login: false
- Requires API key: false
- Stores user data: false


## Examples

- Is my timestamp in seconds or milliseconds?
- Why is my date off by a day?




## Questions

### Is my timestamp in seconds or milliseconds?

A ten-digit number is seconds; a thirteen-digit number is milliseconds. JavaScript's Date.now() returns milliseconds, while most Unix tooling works in seconds.

### Why is my date off by a day?

Almost always a timezone issue. The converter shows UTC and your local zone side by side so you can see which one you were reading.

