About phases of the Moon

The look of the Moon changes rapidly because of the relative positions of Sun and Moon. This is called Lunar Phase. Times of New Moon, 1st Quarter, Full Moon, and Last Quarter are those when the difference between longitudes of Sun and Moon becomes 0 deg., 90 deg., 180 deg., 270 deg., respectively.

Figure