Skip to content
Home → All Tools → Date & Time → Unix Timestamp Converter
DATE & TIME

Unix Timestamp Converter

Convert a local date/time to a Unix timestamp or convert a Unix timestamp to a readable UTC date/time.

Use the tool

Enter your values below. Results are calculated in your browser.

About this Unix Timestamp Converter

Unix Timestamp Converter provides two-way conversion between human-readable date/time input and Unix seconds used in many systems and APIs.

Formula or method

Unix time counts seconds elapsed since 1970-01-01 00:00:00 UTC, excluding leap seconds.

Example

Timestamp 0 corresponds to 1970-01-01 00:00:00 UTC.

Common uses

  • Debug API timestamps.
  • Convert a local date/time to Unix seconds.
  • Read a Unix timestamp as a UTC date.

How to use this tool

  1. Enter the values or text requested by the calculator.
  2. Choose units or options when the tool provides them.
  3. Select the calculation button and review the result.
  4. Use the formula, example and notes on this page to check whether the result fits your situation.

Important note

Date-to-timestamp mode interprets the browser date/time input in your local time zone; timestamp-to-date output is shown in UTC.

Frequently asked questions

Are timestamps in seconds or milliseconds?

This tool uses Unix seconds.

Which time zone is used for timestamp output?

Timestamp-to-date output is displayed in UTC.