Date range presets and custom range

Last 7 / 30 / 90 days, all time, or a custom from-to range, applied to every chart at once.

What it is

A preset select plus two branded date pickers that appear only when 'Custom range' is chosen. All time sends a far-back start date so the server returns full history. Custom dates snap to start-of-day and end-of-day so a single-day range actually contains that day.

Also called: last 30 days · all time · custom date range · date filter

See it
Date range presets and custom range
Apr
May
Jun
Jul
Delia Yoder — Hobby Shop
Framing
Marlin Hoover — Barndominium
Concrete
Ronan Petsch — Hobby Shop
Trim
Ronan Petsch — Riding Arena
Framing
Ivy Brubaker — Riding Arena
Concrete
Framing crewConcrete crewTrim crew
The 'Range' select expanded showing the five presets, with two DatePicker fields appearing beside it on 'Custom range'. Header in AnalyticsView.tsx. Sample data — no customer information appears here.
How it works
  1. 1Presets compute a from date N days back and a to date of now.
  2. 2'All time' sends 2000-01-01 as the start.
  3. 3Custom from becomes T00:00:00.000Z and custom to becomes T23:59:59.999Z.
  4. 4Changing the range re-issues the single analytics request that drives the page.
Why we built it

Leads per week is normalised by the window length precisely so that a 7-day view and a 90-day view can be compared without mental arithmetic. The end-of-day clamp exists because a custom 'to' of today otherwise excluded everything that happened today.

The problem
  • Fixed-window reports could not answer season-to-season questions.
  • A custom end date silently dropped the final day.
Sound familiar?
What you get
Any window, from a week to the life of the account.
Rate metrics stay comparable across window sizes.

See it on your own jobs

Twenty minutes, your numbers, no slide deck. We’ll build one of your real buildings in front of you and send you the estimate link at the end — yours to keep either way.

or keep browsing features →