Here is a short script to get the nth day in the month for the whole year, e.g. every fourth thursday:

for month in $(seq -w 01 12); do ncal -M $month 2018 | grep Do | awk -v var="$month" '{ print "2018-" var "-" $5 }'

you need to adopt to your locale...