Extract Month from date element in calc element

venekamp

Member
Hi,

I have a date element. Now I need also a seperate field that only contains the month (01---12) of that date element. I have been looking for hours now, but I cannot find te right solution. I tried the calc-element, using PHP functions. Please help.
 
Me dombo. I overlooked the "_raw" suffix.
Thanks it works fine in the calc element with

$date= date_create('{fluve_fltuin_quicklog___datum_raw}');
return date_format($date,"n");
Giving the month number I need.
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top