Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Description

Use a date field create a variable that separates the date values into Months.  For instance, a table showing enrollment status over the year (see below).

 

How To

Use the code below to create the calculated variable.  Remember this ignores year!

On Expression tab

function main() {

var myMonth = V1.getMonth();

return myMonth;

}

On the Pick List tab

List months 0 to 11 (e.g., 0 = January, etc.)

 

 

  • No labels