I am using the builtin DATEPART function to retrieve month, day and year from a date so I can pass it to the DATENAME function: Now that I have Month, Day, Year values individually, I pass it to my DATENAME to get the Weekname of the date I want: This returns an incorrect Day Name.
Leaving Main Life Sequence. When a massive star has expended all of its core hydrogen, this means that the gravitational forces pushing inward will overcome the fusion forces which had been pushing outward. The outer layers of the star will then compact inwards.
Joshua Engel is correct that all oxygen was formed in stars, most of it in the later stages of stellar evolution. Oxygen and other heavy elements on Earth are evidence that Earth formed from the stellar debris of a supernova as well as interstellar gases. Only the lightest elements (hydrogen, helium, lithium and perhaps traces of slightly heavier elements) could be formed in the Big Bang itself. Oxygen itself comes from the late stages in the life of a star, when the star fuses helium to form even heavier elements.