ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "joelfradkin@gmail.com" <joelfrad...@gmail.com>
Subject Re: date fields
Date Wed, 22 Oct 2014 20:14:18 GMT
        <field name="FromDate" title="From Day (including unless time is
set)" >
            <date-time default-value="${groovy:
org.ofbiz.base.util.UtilDateTime.getMonthStart(org.ofbiz.base.util.UtilDateTime.nowTimestamp())}"/>
        </field>

There is a getMonthEnd  but not sure how to set timezone and locale.
        org.ofbiz.base.util.UtilDateTime.getMonthEnd(stamp, timeZone,
locale)



-----
Joel Fradkin
--
View this message in context: http://ofbiz.135035.n4.nabble.com/date-fields-tp2339580p4657262.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Mime
View raw message