Take a look at the temporal expressions:

https://cwiki.apache.org/confluence/display/OFBENDUSER/Temporal+Expressions

-Adrian

--- On Thu, 9/30/10, Naveen Kumar <naveen.new...@gmail.com> wrote:

> From: Naveen Kumar <naveen.new...@gmail.com>
> Subject: Groovy DateTime Issue
> To: user@ofbiz.apache.org
> Date: Thursday, September 30, 2010, 4:15 AM
> Hi All,
> 
> I am writing an automated script which updates payment
> table to collect
> payment for next consecutive 5 months on the same date,
> that is, If today is
> the first payment (30-09-2010) then next 4 payment will be
> on the same date
> of subsequent months(30-10-2010, 30-11-2010, ....), Can
> anyone suggest me
> how to implement this in groovy.
> 
> Regards,
> Naveen.
> 


      

Reply via email to