Guides/Tool Guides

Timestamp Converter Guide

Convert timestamp and date.

Overview

Convert Unix timestamps (seconds or milliseconds) to human-readable dates and back. Perfect for debugging log lines, API fields, database records, and cache TTL calculations. Display uses your browser’s local timezone.

Pro time-savers

  • Batch timestamp/date convert

Use cases

  • Convert a log timestamp to local time to correlate events across services.
  • Generate a timestamp for an API request parameter or test data.
  • Quickly verify whether a value is seconds vs milliseconds.

Common pitfalls

  • Mixing seconds and milliseconds is the #1 cause of “wrong date” bugs.
  • Logs may be UTC while your browser displays local time; account for timezone offsets.
  • Some systems store timestamps as strings—watch for accidental parsing issues.

FAQs

Seconds or milliseconds?

10 digits is typically seconds; 13 digits is typically milliseconds. This tool attempts to auto-detect based on length.

What timezone is used?

Dates are shown in your browser’s local timezone.

Why does the time look “off” by hours?

That’s usually a timezone difference between UTC and local time. Confirm which timezone your logs are using.

Does this handle negative timestamps?

Negative timestamps represent dates before 1970-01-01 (Unix epoch). Support depends on browser Date handling.

Examples

Input

1710000000

Output

2024-03-09 22:40:00 (example)