Thank you so much, @bangank36!
To show the date with Month Date, Year (e.g. April 15, 2021), you can edit the script as follows:
var dateformat = "mm-dd-yyyy";
to
var dateformat = "mmm dd, yyyy";
I did this on my blog and it worked perfectly. Thank you again!