Remove Time Stamp for String Date/Time

Hello, I am using the a date/time attribute as a parameter in a text widget. (see “Plans for 4/5/2023, 12:00 AM” header in the screenshot below) Right now it is showing both the date and the time, but I would like it to only show the date part.  Does anyone know how I can remove the time stamp at the end?
2 answers

Following up from Eline’s answer, this is how you can change how the date is shown using an Expression. You should be able to use the formatDateTime function to set how you want the date to be displayed.


You can choose which things you want to show in your parameter: