Gas Water Heater Not Hot Enough. Since one heater is not enough to warm up all of the water in the cylinder the resulting water flowing from your hot water tap will be lukewarm. Gas Water Heater Not Hot Enough Because Thermostat May Be Defective A gas water heaters thermostat and pilot light control are built into the gas control valve.
Your shower draws a large amount of hot water from the water heater. Check the gas burner and does the flame rod generate sparks when the unit is turned on. This water heater issue followed by lukewarm water and hot water runs out fast can occur suddenly and with no warning signs.
Yes seems like that is the situation because it works for around 24 hrs and then the burner doesnt turn back on.
A Broken Dip Tube. As cold water hits the metal rod thermostat the rod expands turning the gas burner. A gas water heater cannot heat effectively if the burner is dirty or not functioning properly. Check if the thermostat is causing you difficulties.