# Determine if "today" is the last day of the month. if hpmonth = 2 and & (hpyear mod 4 = 0 and (hpyear mod 100 <> 0 or hpyear mod 400 = 0)) then # Feb in a leap year if hpdate = 29 then echo Today (29) is the last day of FEB endif elseif "!hpdate" = word("31,28,31,30,31,30,31,31,30,31,30,31",,hpmonth) then echo Today (!hpdate) is the last day of ![word(hpdatef,,2)] endif