NAME:
mon2num
PURPOSE: (one line only)
Convert the name of a month to its integer equivalent.
DESCRIPTION:
CATEGORY:
Utility
CALLING SEQUENCE:
mon2num, name, num
INPUTS:
name - String or string array with the name of a month, the case does
not matter and the string need only be long enough to be unique.
OPTIONAL INPUT PARAMETERS:
KEYWORD INPUT PARAMETERS:
OUTPUTS:
num - Number of the month (1=Jan, 2=Feb, etc.)
KEYWORD OUTPUT PARAMETERS:
COMMON BLOCKS:
SIDE EFFECTS:
RESTRICTIONS:
If the name you give is not unique, the first match is returned.
If the name you give is not correct, you get a 0 back for that entry.
PROCEDURE:
MODIFICATION HISTORY:
Written by Marc W. Buie, Lowell Observatory, 2008/02/03