More accurate than moon position would be the position of the stars. Throughout the year, the stars around the Earth remain the same but as the Earth orbits the Sun, the Sun appears to be “in” different constellations as the Earth rotates, but it rotates at the same rate during the night as during the day. Each star rises and sets just like the Sun does, so by knowing which stars rose just as the Sun set, you can figure out the approximate time (approximate because it changes through the year).
Alternatively, the North Star and the stars around it appear to rotate once per day, so you could check the orientation of those stars to determine time, again by noting which part points towards the Sun.
More accurate than moon position would be the position of the stars. Throughout the year, the stars around the Earth remain the same but as the Earth orbits the Sun, the Sun appears to be “in” different constellations as the Earth rotates, but it rotates at the same rate during the night as during the day. Each star rises and sets just like the Sun does, so by knowing which stars rose just as the Sun set, you can figure out the approximate time (approximate because it changes through the year).
Alternatively, the North Star and the stars around it appear to rotate once per day, so you could check the orientation of those stars to determine time, again by noting which part points towards the Sun.