getMonth(now()) gives false value

Hello,
I am trying to show the date in the report and I am using this code in the parameters:
concat(toInteger(getDayOfMonth(now())),".",toInteger(getMonth(now())))

The month that is displayed is not the current month (Currently the date is 8.3 (March 8th,) , but it is showing 8.2 instead

https://docs.inductiveautomation.com/pages/viewpage.action?pageId=58603828

getMonth Extracts the month from a date, where January is month 0.

1 Like

If your just trying to show 8.3 for today using an expression, wouldn’t something like this be easier?

dateFormat(now(),'d.M')
2 Likes

I have much going on but this one works too. Thank you!