Genesis doesn't call the sun day, He calls it a marker to indicate days. He calls the light 'day', and the darkness 'night'.
But the passages state 'there was evening, there was morning- the x day'
It does not say there was night, there was day.
So the passages themselves show that evening...