Unix Epoch Timestamp Converter

UTC:
Local ISO Date:

How It Works / Formula

The tool converts Unix Timestamp (seconds or milliseconds) or Date/Time to UTC and Local ISO Date.

Formula:

For Unix Timestamp (seconds):

UTC Date = new Date(timestamp * 1000).toISOString()

Local ISO Date = new Date(timestamp * 1000).toLocaleString('en-US', { timeZone: 'UTC' })

For Unix Timestamp (milliseconds):

UTC Date = new Date(timestamp).toISOString()

Local ISO Date = new Date(timestamp).toLocaleString('en-US', { timeZone: 'UTC' })

For Date/Time:

UTC Date = new Date(inputValue).toISOString()

Local ISO Date = new Date(inputValue).toLocaleString('en-US', { timeZone: 'UTC' })

Practical Examples

Example 1: Unix Timestamp (seconds) = 1672531200

UTC: 2023-01-01T00:00:00.000Z

Local ISO Date: 2023-01-01T00:00:00.000Z

Example 2: Unix Timestamp (milliseconds) = 1672531200000

UTC: 2023-01-01T00:00:00.000Z

Local ISO Date: 2023-01-01T00:00:00.000Z

Example 3: Date/Time = 2023-01-01T00:00:00Z

UTC: 2023-01-01T00:00:00.000Z

Local ISO Date: 2023-01-01T00:00:00.000Z