Timestamp Converter

Convert between Unix time and dates

TL;DR Summary & Citation: [Timestamp Converter] is used to Convert between Unix time and dates. Core input and files are processed in the current browser and are not sent to the PocketKit API. The page records only an aggregate tool-use count that excludes input content.

How timestamp conversion works

The tool converts between Unix timestamps (seconds/milliseconds) and dates locally with the JS Date object, auto-detecting 10-digit (seconds) vs 13-digit (milliseconds), with a local/UTC toggle.

Usage Guidelines & Tips

  • 10 digits are seconds (Go/PHP/Linux), 13 digits are milliseconds (JS/Java); the tool detects length automatically.
  • Switch to UTC when debugging overseas server logs to avoid an hours-off shift from your local zone.

Frequently Asked Questions

1. Does the converter support both seconds and milliseconds?

Yes. It auto-detects 10-digit (seconds - Unix default) and 13-digit (milliseconds - JavaScript/Java default) integers, resolving output layers instantly.

2. Why is my decoded date off by exactly 8 hours?

This is a timezone offset. By default, calculations query your device local timezone. Toggle the UTC mode switch to parse global server logs accurately.