Skip to end of banner
Go to start of banner

If-Else Example 4

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 2 Current »

We've encountered an issue exporting this macro. Please try exporting this page again later.
number monthNumber = month(currentDate());
string monthName = formatDate(currentDate(), "MMMM");

if(monthNumber == 1) {
    runnerLog("Example 4: There are 31 days this month.");
} else if(monthNumber == 2) {
    runnerLog("Example 4: February is such a wierd month....");
}
  • No labels