https://www.taxconnections.com/taxblog/the-substantial-presence-test-how-to-calculate-it-with-examples/
The Substantial Presence Test: How To Calculate It With Examples