Another thing, if some people claim that it's referring to day and not light because God called light day, then they are obviously making another irrefutable error here.
According the bible, God created sun on day 4, and he created light on day 1. So we have 2 possibilities here, either light in the bible is referring to the actual day, or it's referring to the actual light, and in the end, both of them are wrong because:
1.If it's (the light that's mentioned in the bible) is referring to the actual day, then this is entirely falsehood because there can be no day without sun, and sun was created on day 4 while light was created on day 1
2.If it's (the light that's mentioned in the bible) is referring to the actual light, then this is incorrect because according to the bible the light was created after earth was created and was formless.