How Long Until

Search tools and articles

Hours ago

Subtract whole hours from the current instant and read the local date-time.

How it works

Direction is negative. Crossing midnight is automatic because the math is on timestamps, not clock digits.

Questions

Does this use UTC?

The subtraction is in milliseconds from Date.now(); the printed time is your locale and time zone.

Related tools