I use the template node and Jinja templates for this purpose
[{"id":"23a7026a.523abe","type":"api-render-template","z":"66b702e7.2af0fc","name":"Date conditions","server":"9405c3fe.d0a6c","version":0,"template":"{{now().day in [1,15] and now().month|int in [1,4,7,10] }}","resultsLocation":"payload","resultsLocationType":"msg","templateLocation":"template","templateLocationType":"msg","x":740,"y":1960,"wires":[["ea2b1fd8.f27a8"]]},{"id":"ea2b1fd8.f27a8","type":"switch","z":"66b702e7.2af0fc","name":"True?","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"True","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":890,"y":1960,"wires":[["c451cabc.026e48"]]},{"id":"62f8fda6.11a814","type":"inject","z":"66b702e7.2af0fc","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":570,"y":1960,"wires":[["23a7026a.523abe"]]},{"id":"c451cabc.026e48","type":"debug","z":"66b702e7.2af0fc","name":"Do","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":1020,"y":1960,"wires":[]},{"id":"9405c3fe.d0a6c","type":"server","name":"Home Assistant","version":2,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":30}]