I want my parameter default to be the first day of this year so I put in the formula:
BirtDateTime.firstDayOfYear(BirtDateTime.today())
And I'd like the default to be displayed in yyyy-MM-dd format so the users know what format to enter.
However when I run the preview it shows the default as "Jan 1, 2012".
Here is a screen shot of my parameter settings, and a screen shot of the report:
i . imgur . com / Q47QZ.png
i . imgur . com / yyDJm.png
(I wanted to embed these images but the forum says I can't use links yet. Add http to the beginning of these and remove the spaces to get to the images.)
On 2/22/2012 3:06 PM, Birt Unmitigated wrote:
> I want my parameter default to be the first day of this year so I put in
> the formula:
>
> BirtDateTime.firstDayOfYear(BirtDateTime.today())
>
> And I'd like the default to be displayed in yyyy-MM-dd format so the
> users know what format to enter.
>
> However when I run the preview it shows the default as "Jan 1, 2012".
>
> Here is a screen shot of my parameter settings, and a screen shot of the
> report:
>
> i . imgur . com / Q47QZ.png
>
> i . imgur . com / yyDJm.png
>
> (I wanted to embed these images but the forum says I can't use links
> yet. Add http to the beginning of these and remove the spaces to get to
> the images.)