Does the day you arrive count as a day for tax residency?
It depends on the country: the US generally counts any day you are present at any time, including your arrival day, while the UK generally counts a day only if you are in the UK at midnight at the end of it.
Partial-day rules: the US approach
For the substantial presence test, the IRS counts a day if you are physically present in the US at any time during that day. Landing at 11 pm counts the same as a full day. So do the day you arrive and the day you leave. A small number of exceptions apply, such as transit between two foreign points for less than 24 hours. Several US states, New York among them, also count any part of a day as a day in the state.
Midnight rules: the UK approach
The UK Statutory Residence Test generally counts a day only if you are in the UK at the end of the day. If you arrive in the afternoon and are still there at midnight, the arrival day counts. If you leave in the evening, the departure day usually does not. HMRC's guidance sets out exceptions for some transit days and for exceptional circumstances, and a deeming rule can count some extra days for people with strong UK ties.
Other systems
For the Schengen 90/180 rule (an immigration limit, not a tax test), the entry day and exit day both count as days of stay. Many countries' tax rules do not spell out partial days at all, or leave it to administrative practice, so check the specific jurisdiction's rule. The safe habit is to log every travel day with its time and place, then apply each country's own counting method rather than guessing.
Tax Days records your travel days and applies each jurisdiction's day definition for you, so a single overnight flight is counted correctly in both places.
Sources & further reading
Every rule on this page is drawn from primary sources. Verify the current law before making a residency decision.
Stop counting days by hand
Tax Days keeps a live day count across every US state, federal SPT, Schengen, and 200+ countries, using each one's own rules.