This is how i call the constructor:
Date registerDate = new Date(“2012″,”09″,”20″,”09″,”49″,”25″,”325”);
And this is the output:
Sat Oct 20 09:49:25 GMT-0600 2012
“09” = October?
I get those parameters from a java web service in an xml, thats why they are strings, though, i get the same results with int values.
It’s by design, I think:
In other words, it starts counting months from 0, so yes, October is 9. )