Unix Timestamp Converter
Convert between Unix timestamps and dates/times.
타임스탬프 → 날짜
날짜 → 타임스탬프
Overview
Convert between Unix timestamps (Epoch Time) and human-readable date/time formats. Useful for server log analysis, API debugging, and database operations.
Formula
A Unix timestamp is the number of seconds elapsed since January 1, 1970 00:00:00 UTC (Epoch). Date to timestamp: Calculate (target UTC date/time − 1970-01-01T00:00:00Z) in seconds. Millisecond timestamp = seconds × 1000. Timestamp to date: Add the seconds to the Epoch and decompose into year/month/day/hour/minute/second.
How to Use
- 1Enter a Unix timestamp or a date/time value.
- 2Select the conversion direction (timestamp → date or date → timestamp).
- 3Choose the timezone (default: local timezone).
- 4The conversion result is displayed instantly.
Tips
- ✔Use the 'now' button to quickly check the current timestamp.
- ✔Distinguish between millisecond timestamps (13 digits) and second timestamps (10 digits).
- ✔Year 2038 problem: On 32-bit systems, Unix timestamps can only represent dates up to 2038-01-19 03:14:07 UTC.
- ✔JavaScript's Date.now() returns milliseconds, while Python's time.time() returns seconds with decimals.
FAQ
Q. What is a Unix timestamp?
A Unix timestamp (also known as Epoch Time) is the number of seconds that have elapsed since January 1, 1970 00:00:00 UTC. It is a timezone-independent, absolute time representation supported by virtually all programming languages and operating systems.
Q. What is the difference between millisecond and second timestamps?
A second timestamp is a 10-digit number (e.g., 1700000000), while a millisecond timestamp is a 13-digit number (e.g., 1700000000000). JavaScript uses milliseconds, while Unix/Linux system commands typically use seconds.
Q. What is the Year 2038 problem?
Unix timestamps stored as 32-bit signed integers can only represent values up to 2,147,483,647 (2038-01-19 03:14:07 UTC). After that, an overflow occurs. Most modern systems use 64-bit integers to avoid this issue.
Related Calculators
Color Converter
Convert between HEX, RGB, and HSL color codes.
Base64 Encoder/Decoder
Encode and decode text in Base64 format.
JSON Formatter
Format or minify JSON data for readability.
URL Encoder/Decoder
Encode and decode URL strings.
Hash Generator
Generate MD5, SHA-1, SHA-256 hash values.
Regex Tester
Test regular expressions and view match results.