Right now it doesn't. At 00:00 UTC the track's progress resets and the new day's Golden Track takes over, so a track playing across the reset ends up counting for neither day. That's what cost you the Golden Track on the 22nd.
It's already fixed and goes live with the next update. A track still playing when the day resets will count for the day it started, as long as it ends within the first 5 minutes of the new day. Every track is under 4 minutes, so any track that started before midnight make
Ok.thank you for clarifying