What you can type
- A number — read in the unit you pick (milliseconds by default):
90000is 1 minute 30 seconds. - Units —
1h 30m,2 days 3 hours,1.5h,250ms,45s. - Clock time —
01:30:00,5:30(minutes:seconds) or1.02:00:00(days.hours:minutes:seconds, as .NET's TimeSpan writes it). - ISO 8601 durations —
PT1H30M,P2DT3H, as used in JSON APIs, YouTube data, Azure and many config files.
Quick reference
| Duration | Milliseconds |
|---|---|
| 1 second | 1,000 |
| 1 minute | 60,000 |
| 1 hour | 3,600,000 |
| 1 day | 86,400,000 |
| 1 week | 604,800,000 |
| 30 days | 2,592,000,000 |
Where milliseconds show up
JavaScript timers (setTimeout(fn, 30000)), HTTP and database timeouts, cache TTLs, animation durations and performance measurements all use milliseconds;
log files often record request times in ms. Watch the limits: setTimeout overflows above 2,147,483,647 ms (about 24.8 days) and fires immediately.
For points in time rather than lengths of time, use the Unix timestamp converter.
Is my data uploaded?
No. Everything is calculated in your browser, so nothing you add is sent to gratistools.be. See the privacy page for details.