Return month of a date.
For a given date in a serial date number or date string format, returns its month number (num) or 3 letter name (str).
The optional variable f, specifies the format string used to interpret date strings.
See also: date, datevec, now, day, year.
Package: financial