Have a look at this: https://marketplace.mendix.com/link/component/106243
Demo app → https://jqueryuidatetimepi.mxapps.io/
There are other options on the marketplace as well. You could check those as well
Another (perhaps easier) solution would be to use three dropdown widgets (for year, month and day) using enumeration values and use custom logic to create a date based of date.
Or you can browse for other date picker widgets on the Marketplace.