---
title: "If-Else Example 1"
canonical: "https://support.appfire.com/space/PSCONF/15305808/If-Else%20Example%201"
format: markdown
---
> Macro (aura-html)

> Macro (excerpt)
> 
> ```
> number monthNumber = month(currentDate());
> string monthName = formatDate(currentDate(), "MMMM");
> 
> if(monthNumber > 0) {
>     runnerLog("Example 1: It is the month of " + monthName + "!");
> }
> ```