What you can do with Time Unit & Tick Converter
- Convert seconds to minutes
- Convert milliseconds to seconds
- Convert .net ticks to date
How this date and time calculation works
Convert durations between nanoseconds and weeks, or convert .NET 100-nanosecond ticks to ISO dates and Unix timestamps.
Example input
Duration: 120 seconds; .NET ticks: 621355968000000000Example output
Duration: 2 minutes | .NET ticks: 1970-01-01T00:00:00.000Z | Unix seconds: 0 | Unix milliseconds: 0Practical workflow
- Enter a numeric duration and choose its source and target units to see the converted value.
- Review the equivalent values for nanoseconds, microseconds, milliseconds, seconds, minutes, hours, days, and weeks.
- Copy the selected duration conversion when you need to use it elsewhere.
- Use Ticks to Date or Date to Ticks to convert .NET ticks and ISO date-time values; include Z or a UTC offset for unambiguous dates.
Common use cases
- Translate benchmark durations between nanoseconds, microseconds, and milliseconds.
- Convert a .NET DateTime tick value into an ISO date and Unix timestamps.
- Convert a timestamp with an explicit UTC offset into .NET ticks.
Important notes and limitations
- Duration arithmetic uses JavaScript numbers and displays up to 12 significant digits; conversions that overflow or underflow numeric range are reported as errors.
- The .NET tick converter handles absolute date-time instants; ticks are not included as a duration unit in the all-equivalents list.
- Invalid, blank, non-finite, or out-of-range tick inputs produce an error instead of a converted date.
- ISO date inputs use JavaScript Date millisecond precision, so sub-millisecond .NET tick precision cannot be preserved when converting a date back to ticks.
CLI time unit conversion & epoch calculations
Convert seconds to human readable duration with units CLI
units '1000000 seconds' 'days; hours; minutes; seconds'Decomposes large second counts into days, hours, minutes, and seconds using GNU units.
Millisecond vs Microsecond epoch truncation
Dates resolving to year 1970 due to unit scale mismatch
Cause: Passing seconds (10 digits) to JavaScript 'new Date(ms)' which expects milliseconds (13 digits).
Solution: Multiply Unix timestamps by 1000 before passing to JavaScript Date constructors.
Continue your workflow
- Unix Timestamp Converter — convert epoch timestamps to readable date and time strings.
- Date Difference Calculator — calculate calendar day and week spans between dates.
Frequently asked questions
What are .NET DateTime ticks and how are they calculated?
A .NET tick represents 100 nanoseconds (one ten-millionth of a second). The value measures elapsed ticks since 12:00:00 midnight on January 1, 0001 (Common Era).
How many nanoseconds are in a single millisecond?
There are exactly 1,000,000 nanoseconds in one millisecond (and 1,000 microseconds per millisecond).
How many significant digits does the duration converter show?
The result is formatted to at most 12 significant digits using JavaScript number arithmetic. Conversions outside the representable numeric range show an error.
Can date conversion preserve sub-millisecond .NET ticks?
No. JavaScript Date values have millisecond precision, so converting an ISO date back to .NET ticks cannot retain sub-millisecond tick digits.