|
Re: Can't format default date parameter as yyyy-MM-dd [message #805387 is a reply to message #804591] |
Thu, 23 February 2012 17:45 |
|
See attached example.
Jason
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.)
|
|
|
Powered by
FUDForum. Page generated in 0.02504 seconds