12
Hi gentlemen,
this is almost genius! It is almost what I'm looking for.
I have a smarty variable from Extcal
<{$event.formated_event_start}>
It gives the date of a upcoming event in this format: 01/02/2011
I want it to look like 01 feb
Now the code
<{$event.formated_event_start|date_format:"%b"}>
doesn't work. |date_format is making it the current date, not the date in the event.formated_event_start string. I guess because it cannot figure out a timestamp or something.
So I guess I have to make up something like described above. I prefer the include of a php file. But how can I get the value of
<{$event.formated_event_start}>
"known" in the php file?
I'm sorry I'm no coder (as you might guess)..
Thank you very much for any response!