Daywitness

One trip, four different day counts.

Daywitness is an iPhone app that records where you are each day and counts those days the way each tax and visa rule counts them, with the official source for every rule.

How the same days count under different rules

An example: someone who lives in New York flies to Paris on the evening of March 3 and lands the next morning.

The rules disagree about the travel days. Daywitness keeps each count apart instead of picking one.
DayWhereNew York (any part of a day)IRS 330-day test (full days abroad)Schengen 90/180
Mar 2New Yorkcountsnono
Mar 3New York → in the aircountsnono
Mar 4in the air → Parisnono, not a full daycounts
Mar 5Parisnocountscounts
Mar 6no location receivedto confirmto confirmto confirm

What it counts

US state residency
53 state and city rules with a day test (New York State and City, Yonkers, Connecticut, New Jersey, Massachusetts, Pennsylvania, Virginia, Maryland, Oregon and others), each with the statute or tax-agency text it comes from.
IRS
The substantial presence test (31 days, and 183 weighted days over three years) and the 330 full days of the foreign earned income exclusion, in any 12-month window.
United Kingdom
The Statutory Residence Test: midnights in the tax year from 6 April, deemed days and the ties table.
Schengen 90/180
Your last safe day and the longest stay from any entry date. Cyprus is counted on its own.
Also
Canada 183 days, Puerto Rico presence test, UAE tax residency, and a counter you define yourself.

Where the information lives

Positions are turned into places on the iPhone with a map that ships inside the app. There is no Daywitness account and no Daywitness server. The privacy policy explains each case.

Price

Recording, the calendar, corrections and backup are free. Counters, the planner, reports and alerts come with a yearly App Store subscription, with a trial period for first-time subscribers.