Investment Studio > Views > Downloads > Downloader > ActiveX interface > Aux > getMonthNumber

long Aux.getMonthNumber(BSTR monthName, monthSet)

Translates the string monthName to a month number [1, 12] using the month set called monthSet. Returns -1 if either argument isn't recognized.

Standard three-letter English month name abbreviations are built in and always available as monthSet "US Jan-Dec".

See also Aux.getFullYear, Aux.weekDay.