How to display month in text instead of numbers?

We use the module: http://www.boonex.com/m/evo-wall-advanced-news-feed-2012-08-29 and i'm working on the viewing of events on the wall. We designed a cool method of viewing events on the wall, but we ran into a small problem with the realization of it.

I attached a printscreen for more information.

The module uses this code for showing the date: (file: basecore.php )
( We made some small changes to let it work in our custom template )

if ($seldate=="d/m/Y H:i:s")
 {
  $dateeventstart=date("d",($rowevento[5]+$offset));
  $dateeventend=date("d",($rowevento[6]+$offset));
  $dateeventstart2=date("m",($rowevento[5]+$offset));
  $dateeventend2=date("m",($rowevento[6]+$offset));
 }
 else
 {
  $dateeventstart=date("d",($rowevento[5]+$offset));
  $dateeventend=date("d",($rowevento[6]+$offset));
  $dateeventstart2=date("m",($rowevento[5]+$offset));
  $dateeventend2=date("m",($rowevento[6]+$offset));
 }

Everything works perfectly only we want to show the month ( of the events date ) in tekst and not numbers.
So for example, now it is: 24 ( day ) , 08 ( month )
We want that it's displayed like this: 24 ( day ) , aug. or august if that's not possible ( month )

How can we do that?

It's only necessary that the date is set to text for this function. On the rest of the site the date in numbers is fine.

 

print.png · 348.6K · 197 views
Quote · 20 Apr 2013

Check php date function docs.

http://php.net/manual/en/function.date.php

Change the lowercase m in date("m" to either a upper case F for full month name or to a uppercase M for abbreviated month name.

https://www.deanbassett.com
Quote · 20 Apr 2013

Thanks! It worked :)

Quote · 20 Apr 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.