There is even an example of that in the Example component - using start of day I believe.
-Adrian --- On Thu, 8/26/10, Nicolas Malin <[email protected]> wrote: > From: Nicolas Malin <[email protected]> > Subject: Re: date fields > To: [email protected] > Date: Thursday, August 26, 2010, 4:51 AM > Use UtilDateTime.getMonthStart on > getMonthEnd function with > nowTimestamps present in context > > Nicolas > > Pierre Smits a écrit : > > My apologies, I have to clarify. > > > > I meant setting the default values of the date fields > to either the first > > day or the last day of the current month... > > > > Regards, > > > > Pierre > > > > 2010/8/26 Pierre Smits <[email protected]> > > > > > >> Hi All, > >> > >> How can I get in a date field the date of the > first day of current month? > >> And in a second field the date of the last day of > current month? > >> > >> Regards, > >> > >> Pierre > >> > >> > > > > > >
