[i4w_set nextmonth="[i4w_exec] $a = [i4w_date format='m']; $b = 1; $c = $a + $b; echo $c; [/i4w_exec]"] [i4w_set nextyear="[i4w_exec] $a = [i4w_date format='Y']; $b = 1; $c = $a + $b; echo $c; [/i4w_exec]"] [i4w_compare value1='{:nextmonth:}' cmp='LT' value2='13'] [i4w_date format='{:nextmonth:}/01/Y 00:00:00'] [ELSE_compare] [i4w_date format='1/01/{:nextyear:} 00:00:00'] [/i4w_compare]