mike182uk/timestring
Parse a human readable time string into a time based value
This tool helps you convert plain-language time durations, like "1 day 3 hours", into a standardized time value such as total seconds, hours, or even milliseconds. It takes a flexible text input describing a duration and gives you a single numerical value in return. Anyone who needs to work with time durations for scheduling, tracking, or calculations will find this useful.
No commits in the last 6 months. Available on npm.
Use this if you need to reliably convert varied, human-entered time descriptions into a consistent numeric format for calculations or system inputs.
Not ideal if you need to parse specific calendar dates, times of day, or complex recurring schedules rather than just durations.
Stars
82
Forks
14
Language
JavaScript
License
MIT
Category
Last pushed
Mar 01, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/nlp/mike182uk/timestring"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related tools
adbar/htmldate
Fast and robust date extraction from web pages, with Python or on the command-line
alvinwan/timefhuman
Extract datetimes and durations from natural language text as Python objects. Supports ranges,...
akoumjian/datefinder
Find dates inside text using Python and get back datetime objects
DanielJDufour/date-extractor
Extract dates from text
quire-io/SwiftyChrono
A natural language date parser in Swift (ported from chrono.js)