As for its energy production, it is believed that the sunlight we see everyday is made of units of radiant energy called photons which originate in the inferno of the Sun's core. They may take many years slowly wandering up to the surface, then in a little more than eight minutes they speed across the 93,000,000 miles of space to the Earth, if they happen to be headed our way.
The Greater Light to Rule the Day - Ladies and Gentlemen - The Sun! by J. Timothy Unruh
Fantastic Tim! Many years indeed. So many in fact that you properly decided to leave that figure out of your remarks. Likewise for the stars in the night sky Tim. For our sun those many years are between 10,000 and 170,000 years as the photons generated in the core make a "random walk" to the surface. The required travel time can be calculated using a Monte-Carlo simulation. As much as you'd like to throw Twinkies at these figures Tim and cast doubt about their reliability one thing is certain, you cannot shorten the time required to fit the text of the Bible.
Please direct me to the scripture that relates how the sun and stars remained dark for many years after being created. I'm not finding it.
So of the assumptions listed in the previous link we can now remove all but one, the assumption of naturalism. This is the get out of jail free card. When reason, logic, and evidence let you down, simply regard the need for their inclusion to be an unwarranted assumption.
Now maybe young earthers can stop weaving pseudoscience into their ideas and just stick to supernaturalism. Next they can stop complaining that science doesn't countenance their beliefs since supernaturalism by definition is not science.
This thread is an opportunity for young earth creationists to explain how scientists have it all wrong and to explain how light takes no time at all to get from the core of a star to its surface. This is your chance to be a star and shine! (if only dimly)