Time intervals and calendar dates are different
A time-unit conversion expresses an interval in another unit: for example, 90 minutes is 1.5 hours. A timestamp conversion identifies a point on a time scale. This page provides both tasks while keeping their meanings separate. Use the unit form for durations and the Unix timestamp section for a UTC date and time.
Convert durations
Enter a value and choose the source and destination units. The menu covers seconds and subsecond units, minutes, hours, days, weeks, months, years, decades, centuries and millennia. Results update on this page, and the swap button reverses the conversion. Examples include 2 hours = 120 minutes, 1 day = 86,400 seconds and 500 milliseconds = 0.5 seconds.
For longer intervals, this converter uses fixed averages: one year is 31,556,952 seconds and one month is 2,629,746 seconds. Actual calendar months and years vary in length. A converted month is therefore an average duration, not the exact interval between two dates. A day here is a fixed 24-hour duration; local calendar days near daylight-saving changes can differ. Use the separate date or duration calculators when you need calendar-aware arithmetic.
Convert Unix seconds to a date
A Unix timestamp counts seconds relative to 1 January 1970 at 00:00:00 UTC. Enter a whole number of seconds to see the UTC date, or edit the UTC date field to obtain its timestamp. A negative timestamp represents a date before the epoch. For example, 0 = 1970-01-01T00:00:00Z and 86400 = 1970-01-02T00:00:00Z.
Many programming interfaces use milliseconds instead of seconds. A 13-digit millisecond value entered as seconds will produce the wrong date or fall outside the supported range; divide milliseconds by 1,000 first. These fields use UTC even if your browser normally shows local time. They do not perform a time-zone conversion or model leap seconds.
Precision and sensible limits
Duration results are rounded for display, and extremely small or large numbers may appear in scientific notation. The timestamp form accepts whole seconds and dates from years 0001 through 9999. Empty or invalid input should be corrected before using the result. Browser date APIs and floating-point arithmetic set the practical limits, so retain original timestamps in your source system.
All calculations on this page run in your browser. Changing a duration or date does not send it to a conversion service; normal page and analytics requests may still occur.
References
Read the BIPM SI Brochure for units of time and POSIX general concepts for the treatment of seconds since the epoch.