The filter is not only useful in daytime, but also at night to control the excess light.
You can use other settings like aperture and ISO, but they are of limited use in low light. Hence, use a filter.
Also, there are applications that help you calculate the correct exposure for a particular stop filter.