Problem with month in current date ???

Hello SERVOY users.

Is there some of you that encounters the same problem ?

I receive the current month equal to five with the following method :

var dd = application.getTimeStamp().getDate()
var mm = application.getTimeStamp().getMonth()
var yyyy = application.getTimeStamp().getYear()+1900
application.output(dd)
application.output(mm)
application.output(yyyy)

the result in the debugger output is :
19.0
5.0
2006.0

We are well the 19/06/2006 in June 2006.

:?: :?:

In JavaScript the getMonth() function result is null based. So Januari is 0.
Very handy when you want to replace the month with a month name;

var monthName = ['januari','februari',etc..]
application.output(monthName [application.getTimeStamp().getMonth()]

But yeah…it does looks odd to get your month minus 1.