A new day normally starts at midnight according to your computer's current local time zone, and data collected after midnight is assigned to the new day.
Depending on your computer activity, the start of a new day may occasionally be shifted slightly to better reflect continuous work sessions.