Server option not showing

When I created my server a few days ago it was good and able to set it to day but when I invited someone to my server and went to the game menu to change it too day it wasn’t there and I tried restarting my game but it didn’t work and when my friend left it still didn’t work please help