Challenge
https://ampscript30.com/ampscript-challenge-day2/
To format the displayed date on an email.
Solution
Hello %%=ProperCase(FirstName)=%% %%=ProperCase(LastName)=%%,
We hope that you are enjoying your membership at our health club. We want to remind you that your membership will expire on %%=Format(RenewalDate,"MMMM dd, yyyy")=%%.

Preview

Summary
Format(Variable to format, the intended format) formats the value according to the string (the intended format) you specify.
Date format syntax – https://help.salesforce.com/s/articleView?id=sf.dato_data_mapping_date_formats.htm&type=5