Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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")

 Image Removed

 

Exclude Previous Years Approach

...