NewMoon
NewMoon[] gives the date of the next new moon.
NewMoon[date]gives the date of the first new moon after the given date.
Examples
Get the next new moon:
NewMoon[]New moon after a specific date:
NewMoon[DateObject[{2024, 1, 1}]]List upcoming new moons:
NestList[NewMoon, Now, 5]Please visit the official Wolfram Language Reference for more details.