Relative Time Formatter
Describe the difference between two dates as a localized relative phrase such as tomorrow or 3 hours ago.
Result
Enter your values and select format relative time.
About the Relative Time Formatter
Relative Time Formatter is a focused browser-based utility. Describe the difference between two dates as a localized relative phrase such as tomorrow or 3 hours ago.
The calculation runs locally in your browser, so the supplied value is not uploaded to ToolsOnDuty. The same capability is also available through the authenticated developer API.
Key features
- Fast local processing with explicit validation
- Copy-ready structured result
- No account, upload or paid data provider required
How to use
- 1Enter a target date, comparison date and locale.
- 2Choose any available conversion or formatting options.
- 3Run the tool and review a localized relative-time phrase.
Examples
a target date, comparison date and localea localized relative-time phraseFrequently asked questions
- Is my input uploaded?
- No. This website tool runs in your browser. Only the optional public API version sends input to the authenticated API route.
- Can I use this in an application?
- Yes. The Developers documentation lists the authenticated endpoint, request parameters and response example.
- Should I verify the result?
- Yes. Deterministic tools are designed for repeatable results, but format-specific or heuristic output should still be checked for your use case.
Continue your workflow
Open a related tool to prepare your files or refine the finished result.
- Date & Time CalculatorsDate Difference Calculator
Calculate the exact duration between two dates in several useful formats.
Open tool - Featured toolDeveloper ToolsUnix Timestamp Converter
Convert Unix timestamps to dates and back, in seconds or milliseconds.
Open tool - Date & Time CalculatorsTime in Words
Convert a clock time into a natural English phrase like quarter past ten.
Open tool
