Thanks for the A2A. You have to excellent answers already and I will simply add that The moon's full day/night cycle is one lunar month (Earth's perspective) so half of that is day and the other half is night. The average lunar month is 27. read more
And while the amount of time the Moon takes to complete one turn on its axis with respect to the stars is 27.3 days (a sidereal day), the amount of time it takes for the Sun to return to the same position in the sky is called a synodic day, and that’s what takes 29.5 days. read more