I have a string like 09-10
which is representative of mm-dd
. I need it in a format something like Monday 10th September
? The problem is that I do not have a year and I can't have an array containing months and days because I would like to know the day of the week (Mon, Tue, Wed etc.)
Any idea how to do this in PHP, preferably using date()
to format the date?
Note: this is not in MySQL...