How to Convert a Unix Timestamp to a Date (and Back)
Turn an epoch timestamp in seconds or milliseconds into local time, UTC and ISO 8601, or convert a date back into a timestamp.
What a Unix timestamp is
A Unix timestamp counts the seconds since 1 January 1970 at 00:00 UTC, known as the epoch. It is a single number that means the same moment everywhere, which is why logs and APIs use it.
Seconds or milliseconds
A 10-digit value such as 1700000000 is in seconds. A 13-digit value such as 1700000000000 is in milliseconds, which is what JavaScript Date.now() returns. The Timestamp Converter reads a value longer than 10 digits as milliseconds.
Convert a timestamp
Open the Timestamp Converter and paste the number, or click Now for the current time. You see the date in your local time, in UTC and in ISO 8601 format at once.
Convert a date back
Pick a date and time in the date field and click Convert. The picker uses your device time zone and the result is a whole number of seconds, so a UTC value may differ from the local time you chose.
블로그의 다른 글
Becoderr란? 145개 이상의 무료 온라인 도구를 한곳에
Becoderr는 PDF, 이미지, JSON, 텍스트, 개발자용, 일상 작업을 위한 145개 이상의 무료 온라인 도구 모음입니다. 비공개, 빠름, 가입 불필요.
화질 저하 없이 이미지 압축하는 방법
사진을 선명하게 유지하면서 이미지 용량을 최대 90%까지 줄이세요. JPG와 PNG를 무료로 안전하게 온라인 압축하는 간단 가이드.
PDF를 편집 가능한 Word 문서로 변환하는 방법
어떤 PDF든 Microsoft Word에서 편집할 수 있는 .docx로 변환하세요. 무료, 가입 불필요.