A single date sounds unambiguous. Whether it counts against you, though, depends entirely on which rule is asking — and the three big regimes don't agree.
A "day" is not a universal unit
The limits that shape life across borders — the Schengen 90/180 rule, tax residency, individual visa allowances — all add up days. It is tempting to assume a day is a day. It isn't. Each regime defines for itself when a calendar date lands on your tally, and those differences are exactly where accidental overstays and surprise tax bills are born.
Here are the three you are most likely to meet.
Schengen: both ends of the trip count
For short stays in the Schengen Area the rule is blunt. The date of entry is treated as your first day of stay and the date of exit as your last — both count as full days, whatever the time on the clock (European Commission short-stay calculator; legal basis in the Schengen Borders Code).
So a flight that lands at 23:50 spends that whole date inside Schengen, and the early flight home spends another. A single overnight trip uses two of your ninety days. The ninety are measured against a rolling 180-day window: you count back 180 days from the date in question, and the total may not exceed 90. (Time spent under a residence permit or a long-stay D visa is not counted in that total.)
United States: any part of a day
The US Substantial Presence Test runs the other way and counts generously against you. In the IRS's words, you are "treated as present in the U.S. on any day you are physically present in the country, at any time during the day" (IRS). Step across the border for an afternoon and that whole date is a day of presence.
The test combines 31 days in the current year with a weighted 183-day total over three years — all of this year's days, one-third of last year's, and one-sixth of the year before. A few categories of day are explicitly not counted, including:
- days you regularly commute to work from a home in Canada or Mexico;
- days you are in the US under 24 hours while in transit between two places outside it;
- days as a crew member of a foreign vessel;
- days you could not leave because of a medical condition that arose while there;
- days as an "exempt individual" — certain students, teachers and others on specific visas.
There is more in our note on the US Substantial Presence Test.
United Kingdom: the midnight test
The UK Statutory Residence Test uses neither approach. Its starting point is the midnight test: you have spent a day in the UK if you are there at the end of that day (HMRC manual RFIG20710). Arrive in the morning, leave before midnight, and as a starting point that date does not count — the mirror image of the Schengen rule.
Two qualifications sit on top:
- Transit. A day you pass through as a transit passenger, leaving the next day and doing nothing substantially unrelated to your passage, is not counted (HMRC RFIG20710).
- The deeming rule. For someone with recent UK residence and at least three UK "ties", days present but not at midnight can begin to count once there are enough of them — broadly, after the first 30 such days in the tax year (HMRC manual RFIG20720). Days caused by genuinely exceptional circumstances may be disregarded.
The fuller walk-through is in the UK Statutory Residence Test.
The same trip, three different counts
Take one overnight stay — arrive in the evening, leave the next afternoon — and the same two dates land differently:
| Regime | Day you arrive | Day you leave |
|---|---|---|
| Schengen 90/180 | Counts | Counts |
| US Substantial Presence | Counts (any part of the day) | Counts |
| UK midnight test | Counts only if there at midnight | Usually not |
The table is a simplification — every regime has exceptions, and residence-permit and citizenship physical-presence counts add still more variations (Canada, for instance, counts days differently again). The lesson is not to memorise each rule but to notice that the same movements produce different totals, so you have to know which rule you are measuring against before you start counting.
Why the definition matters
These distinctions decide real outcomes: a Schengen overstay and a possible entry ban, an unexpected tax residency and a back-tax bill, a residence or citizenship application refused over a day count that doesn't add up. In each regime the burden of proof tends to land on you, and passport stamps were never built to be a running total — they are date-only, sometimes illegible, and increasingly not applied at all, as our guide to counting days abroad explains.
What every one of these definitions has in common is the raw material it works from: the exact dates you entered and left each country. Get those right and applying any single rule is arithmetic; reconstruct them from memory months later and you are guessing.
Where Countly fits
That record is the quiet job Countly does. It keeps an automatic, private, on-device log of which country you were in on each date and when you crossed each border — the precise entry and exit dates that the Schengen, US and UK definitions all depend on. It watches your 90/180 balance, tax-residency thresholds and visa limits against that log, with no account and nothing leaving your phone. When a form or a border officer asks how many days, you read from a contemporaneous record instead of rebuilding one.
A clean record can't change how a "day" is defined. But it means that whichever definition applies, you can apply it to the truth.
This is general information, not legal or tax advice; the rules vary by country and change, so check the official guidance for your situation.