Turn a Unix timestamp into a date
Paste any timestamp. Seconds, milliseconds, microseconds and nanoseconds are detected by length.
Turn a date and time into a Unix timestamp
Pick a moment in Nepal Time or UTC. You get seconds, milliseconds, microseconds and nanoseconds.
Add or subtract time
Start from a timestamp, or leave it empty to start from now.
Time between two timestamps
Find how far apart two moments are. The answer is the second minus the first.
Unix time basics
What is a Unix timestamp?
A Unix timestamp counts the time elapsed since 00:00:00 UTC on 1 January 1970, known as the Unix epoch. It is usually stored in seconds or milliseconds, and it is the same number everywhere in the world.
How do I tell seconds from milliseconds?
Count the digits. Ten digits is seconds, 13 is milliseconds, 16 is microseconds and 19 is nanoseconds. This tool detects the unit for you, and you can override it in the Unit menu.
What is the offset for Nepal Time?
Nepal Time (NPT, Asia/Kathmandu) is UTC+05:45 all year. Nepal does not observe daylight saving time, so the offset never changes.
Is my data sent anywhere?
Values are sent only to this tool's own server to be converted. Nothing is stored or shared, and the page falls back to converting in your browser if the server cannot be reached.