The dateTimeLib.monthOf() system function returns a positive integer that represents a month (1-12), as derived from a TIMESTAMP variable.
dateTimeLib.monthOf(aTimeStamp TIMESTAMP? in) returns (result INT?)