How can I get a date in date format only without hours

How can I get a date in date format only without hours

Hello,

I need for flow to close a deal a current date in the format "dd-MMM-yyyy"

I did this function:

string today()
{
return zoho.currentdate;
}

But it return :  "today_7": "08/08/2019 00:00:00" with hours.

==> Do you know how I can write the script to get the date format only

Thanks for your help
Have a nice day