One of the recent Tips & Tricks showed how to get the current Year/Month/Day using the Java Snippet node. So I tried that.
Today is May 29, 2012. Here are my results:
return Calendar.getInstance().get(Calendar.YEAR); returns 2012 as expected.
return Calendar.getInstance().get(Calendar.DATE); returns 29 as expected.
However:
return Calendar.getInstance().get(Calendar.MONTH); returns 4, not 5. Months do not start at zero. This is just wrong and should be fixed.
Tim