I put in whatever the user says I need and it just responds with the date and time.
For example my user says: twenty-third of November so API needs to return 23-11-2023 response.
Or my user says: eleven twenty AM so the API needs to return an 11:20AM response.
Just ask for the date to be returned in “ISO Date Format” and you will always get the ISO formatted date, you may need to experiment with your prompting to get the format you require, or make use of the Functions ability of the API.