...
function main() {
if (isNull(V1)) { // check to make sure the date field exists
return 12;
} else {
var myMonth = V1.getMonth();
...
List months 0 to 12 (e.g., 0 = January, etc.; 12 = "Missing Date")
Exclude Previous Years Approach
...
...
function main() {
if (isNull(V1)) { // check to make sure the date field exists
return 12;
} else {
var myMonth = V1.getMonth();
...
List months 0 to 12 (e.g., 0 = January, etc.; 12 = "Missing Date")
Exclude Previous Years Approach
...