In my ASP.Net VB app I have an tournament entry form that uses birth date. I pass the date to the database in the following format yyyy-mm-dd and it works fine. In the web form mail message I send to the applicant I want the birth date to display as MMM-dd-yyyy (eg Jan 1 2022). In the code behind I've tried various methods to re-format the date but keep getting various errors. The line of code in the mail message body is the following.
"<p>BIRTH DATE: " & HttpUtility.HtmlEncode(BirthDate) & "</p>" & .
Any help will be appreciated.