Here is a posibility
[{"id":"781cdcca88fe5c64","type":"inject","z":"b9860b4b9de8c8da","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"24/05/2023","payloadType":"str","x":110,"y":4400,"wires":[["c7f2fa132c1fee66"]]},{"id":"c7f2fa132c1fee66","type":"change","z":"b9860b4b9de8c8da","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"$moment($replace($$.payload, /[^\\d]/, \"\"), \"DDMMYYYY\").format()","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":340,"y":4440,"wires":[["4ca64e0ac228f163"]]},{"id":"e9aae64c35e743f1","type":"inject","z":"b9860b4b9de8c8da","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"24-05-223","payloadType":"str","x":100,"y":4460,"wires":[["c7f2fa132c1fee66"]]},{"id":"a4d56691df5e1b59","type":"inject","z":"b9860b4b9de8c8da","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"05/24/2023","payloadType":"str","x":110,"y":4520,"wires":[["c7f2fa132c1fee66"]]},{"id":"4ca64e0ac228f163","type":"debug","z":"b9860b4b9de8c8da","name":"debug 314","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":550,"y":4440,"wires":[]}]
[edit]
$moment().isAfter()
May work better if you want to limit valid dates by years.
[{"id":"7a0882e159aa5076","type":"inject","z":"b9860b4b9de8c8da","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"01-01-1970","payloadType":"str","x":190,"y":4260,"wires":[["c7f2fa132c1fee66"]]},{"id":"c7f2fa132c1fee66","type":"change","z":"b9860b4b9de8c8da","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"$moment($replace($$.payload, \"/\", \"-\"), \"DD-MM-YYYY\").isAfter(\"12-12-1969\")","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":440,"y":4360,"wires":[["4ca64e0ac228f163"]]},{"id":"781cdcca88fe5c64","type":"inject","z":"b9860b4b9de8c8da","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"24/05/2023","payloadType":"str","x":210,"y":4320,"wires":[["c7f2fa132c1fee66"]]},{"id":"e9aae64c35e743f1","type":"inject","z":"b9860b4b9de8c8da","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"24-05-223","payloadType":"str","x":200,"y":4380,"wires":[["c7f2fa132c1fee66"]]},{"id":"a4d56691df5e1b59","type":"inject","z":"b9860b4b9de8c8da","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"05/24/2023","payloadType":"str","x":210,"y":4440,"wires":[["c7f2fa132c1fee66"]]},{"id":"4ca64e0ac228f163","type":"debug","z":"b9860b4b9de8c8da","name":"debug 314","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":650,"y":4360,"wires":[]}]
Will return true or false