시간/숫자
Unix Timestamp ↔ 날짜
Unix 시간을 날짜로 변환하거나 그 반대로 변환, 모든 시간대(IANA) 지원.
Unix time (epoch time) is the number of seconds elapsed since January 1, 1970, 00:00:00 UTC. It's the most common way to store time in databases, APIs, and logs, since it's just a single integer with no tie to a specific timezone or date format.
How to use it
- Timestamp → date: paste a number of seconds (or milliseconds) and the tool shows the date and time in your chosen timezone.
- Date → timestamp: pick a date and time to get the matching Unix timestamp.
- The "now" button fills in the current moment instantly — handy for testing an API or grabbing a fresh value.
Common uses
- Reading a created_at or expires_at field from an API response that arrived as a raw number.
- Checking whether a token or session has expired, given an expiry field in seconds since the epoch.
- Building a timestamp for test data or a date filter in a database query.
Things to keep in mind
Mixing up seconds and milliseconds is the most common mistake: JavaScript's Date.now() returns milliseconds, while most Unix APIs use seconds — a factor of 1000 off.
Unix time itself has no timezone — it's always UTC; a timezone is only applied when displaying the date to a person.
자주 묻는 질문
Unix 타임스탬프란 무엇인가요?
1970년 1월 1일 00:00:00 UTC(Unix 에포크)부터 경과된 초 수입니다. 이 숫자는 어떤 시간대에도 묶여 있지 않습니다 — 시간대는 날짜를 사람에게 표시할 때만 적용됩니다.
초와 밀리초의 차이는 무엇인가요?
JavaScript와 일부 API(Date.now() 등)는 타임스탬프를 밀리초 단위로 반환하지만, 고전적인 Unix 시간은 초 단위입니다. 단위를 혼동하면 날짜가 1970년이 되거나 먼 미래의 어딘가가 됩니다 — "단위" 필드에서 올바른 단위를 선택하세요.
2038년 문제란 무엇인가요?
타임스탬프가 부호 있는 32비트 정수로 저장되는 시스템에서는 초 카운터가 2038년 1월 19일에 오버플로됩니다. 현대의 64비트 시스템에는 이 문제가 없습니다.
Unix 시간은 윤초를 반영하나요?
아니요, Unix 시간에서는 하루가 항상 정확히 86400초이며 윤초는 무시됩니다. 천문학적 UTC와의 정확한 동기화가 필요한 시스템은 표준 Unix timestamp와는 별개의 메커니즘으로 윤초를 처리합니다.
Unix 타임스탬프는 음수가 될 수 있나요?
네, 음수 값은 1970년 1월 1일 이전의 날짜에 해당합니다. 대부분의 현대 시스템은 이런 값을 올바르게 처리하지만, 일부 오래된 API나 라이브러리는 지원하지 않을 수 있습니다.