DevPocket
Date and timestamp converter
A Unix timestamp is the number of seconds (or milliseconds) since 1 January 1970 UTC. It is the usual format in databases, logs and APIs, but it is not human-readable. This converter turns it into a clear date and back.
Whatever you paste into DevPocket is processed in your browser and is neither stored nor sent.
Loading the tool…
It automatically detects whether the value is in seconds, milliseconds, microseconds or nanoseconds, and shows the result in UTC, ISO 8601, your time zone or another of your choice, and as relative time (“3 days ago”). To convert a date, type it in ISO 8601 format.
How to use it
- Paste a timestamp or press “Now”.
- Check the detected unit or choose it manually.
- Choose the time zone and copy the format you need.
Frequently asked questions
How do I know if a timestamp is in seconds or milliseconds?
For current dates, seconds have 10 digits and milliseconds 13. The tool detects it from the number of digits, but you can choose the unit if your case is different.
What is the year 2038 problem?
Systems that store the timestamp as a signed 32-bit integer overflow on 19 January 2038. Modern systems use 64 bits and do not have that limit.
Limitations
- Regular expressions use the JavaScript engine; syntax may differ from PCRE, Python or Java.
- The text diff is designed for documents up to about 2 MB.