The function you are looking for is called formatDateTime(). It takes a date and a string as parameters. The string defines the format of the date, as you can see here.
The answer to you question is: formatDateTime([%EndOfCurrentDay%], 'dd-MMM-yyyy')