Hi Eberhard,
Below is the explanation for the code :
"+new SimpleDateFormat("MMMM yyyy").format($P{MONTH_YEAR} -28)
It is try to display the date in 'MMMM yyyy' format after manipulating MONTH_YEAR by reducing 28 days.
so, formula would be :
Totext((Month_Year)-28,"MMMM yyyy")
Thanks,
Sastry
Hi Eberhard,
I cannot say for certain what that piece of Java code does, however, it seems to me that it displays dates in a particular format - in this case MMMM yyyy.
The CR alternative for that would look like this:
ToText({Date field}, 'MMMM yyyy')
-Abhilash
Add a comment