UtilDateTime.getMonth() and UtilDateTime.getYear are methods have the same
purpose.
- MonthSelection.groovy
For any other format like month name etc, you will find the utility methods
in the same class.
--
Rishi Solanki
Manager, Enterprise Software Development
HotWax Media Pvt. Ltd.
Direct: +91-9893287847
http://www.hotwaxmedia.comOn Mon, Mar 12, 2012 at 4:27 PM, kiunx <
[hidden email]> wrote:
> Hi there,
> i want to ask something about View Entity,
> can i get the month or year value from 1 column that contai date?
> for example
> theDate is the column contain date data.
> TheMonthIs is the month value from theDate and TheYearIs is the year value
> from theDate.
>
> =======================================
> = theDate = TheMonthIs = TheYearIs =
> =======================================
> - 29-02-2012 | 02 | 2012 |
> --------------------------------------------------
> - 03-03-2012 | 03 | 2012 |
> =======================================
>
>
> thanks and regards,
>
>
> Willy
>
> --
> View this message in context:
>
http://ofbiz.135035.n4.nabble.com/How-Get-Month-and-year-Value-for-View-entity-tp4465783p4465783.html> Sent from the OFBiz - User mailing list archive at Nabble.com.
>