Skip to end of banner
Go to start of banner

If-Else Example 3

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

number monthNumber = month(currentDate());
string monthName = formatDate(currentDate(), "MMMM");

if(startsWith(monthName, "J") == true) {
   runnerLog("Example 3: This month " + monthName + " starts with the letter 'J'.");
}
  • No labels