YYYY vs yyyy in onrender() [message #996895] |
Thu, 03 January 2013 06:18 |
harip kaligo Messages: 74 Registered: July 2011 |
Member |
|
|
hi,
We have a report with excel format, which has date format set in onRender():
this.setDisplayValue(Formatter.format(this.getValue(),"M/d/YYYY"));
With this format set we have got date displayed as 12/31/2013 instead of 12/31/2012.
This is happening only for the week the new year falls in. I mean only for 12/30 and 12/31 2012.
We get the correct dates if we change our date format to M/d/yyyy.We get 12/31/2012 and 12/30/2012.
So is there any difference between m/dd/yyyy and m/dd/YYYY from BIRT perspective in Formatter.format().
Any info regrding this would be of great help.
Thanks,
KHP
[Updated on: Thu, 03 January 2013 06:53] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03732 seconds