method run(var eventInfo Event)
var
dt Date
siMM,
siYY,
siDD SmallInt
endVar
; Get First Day of this month
dt = today()
siMM = dt.month()
siYY = dt.year()
dt = Date( string( siMM ) + "/01/" +
string( siYY ) )
; Go to last day of last month and then calc days
dt = dt - 1
siMonthDays = dt.DaysInMonth()
; Show Results
msgInfo( "FYI", "Last month ended on " + String( dt ) +
" and had " + String( siMonthDays ) + " days." )
endMethod