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 <
[hidden email]> wrote:
> From: Nicolas Malin <
[hidden email]>
> Subject: Re: date fields
> To:
[hidden email]
> 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 <
[hidden email]>
> >
> >
> >> 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
> >>
> >>
> >
> >
>
>