I can't seem to get this date format correct.
I'm looking to display the current date like this: Wednesday, May 16th
Any help would be appreciated.
Thanks :)
I can't seem to get this date format correct.
I'm looking to display the current date like this: Wednesday, May 16th
Any help would be appreciated.
Thanks :)
If you want leading zeroes (e.g. "Wednesday, May 02nd"):
date("l, F sS");
If you do not want leading zeroes (e.g. "Wednesday, May 2nd"):
date("l, F jS");