Hi Anurag,

you may wanna use getMonthStart() and getMonthEnd() from UtilDateTime.java

if it's xml you want to you those functions in, then try <set field="..." value="${groovy: ... }"/>

--
Thanks & Regards
Atul Vani
Enterprise Software Developer
HotWax Media Pvt. Ltd.
http://www.hotwaxmedia.com/
We are the Global Leaders in Apache OFBiz, Google 'ofbiz' and see for yourself.

Anurag Walia wrote:
Hi all,

Thanks to all for given your consideration.

i want to fetch  month wise data from entity but i am not getting any
function through which i can do it.

 <entity entity-name="attendance">
                        <field name="partyId" type="id-ne"></field>
                        <field name="date" type="date"></field>
<field name="day" type="id"></field> </entity>

date is the field on the basis of which i want to find the month specific
data.

Regards Anurag Walia

Reply via email to