Hello,

I'm trying to find a way to print a month name and the day of the month for a selected locale without the year. I can't seem to find anyway to do this correctly. Essentially what i want is something like

        $date->strftime($locale->long_date_format)

excluding the year. Is this possible? I'm looking through the defined format strings in the locale files and have come to the conclusion that this isn't possible unless I want to maintain a separate list of format strings for each locale in my own code. However, this seems like such a common thing to do, I'm sure I must be missing something. Hopefully I'm missing the obvious. Any advice would be much appreciated.

Thanks,

Brian

Reply via email to