>  Docs Center  >  Libraries  >  JHU/APL/S1R  >  MONTHNUM

MONTHNUM

MONTHNUM

Name


      MONTHNUM

Purpose


      Return month number given name.

Category


Calling Sequence


      num = monthnum(name)

Inputs


      name = month name (at least 3 characters). in
        May be an array. Case ignored.

Keyword Parameters


Keywords


        /CHAR return results as 2-digit character strings.

Outputs


      num = month number (Jan=1, Feb=2, ...). out
        -1 means invalid input month name.

Common Blocks


Notes


Modification History


      R. Sterner, 1999 Aug 2
      R. Sterner, 2001 Jun 21 --- Allowed arrays.
      R. Sterner, 2010 Jun 07 --- Converted arrays from () to [].
      R. Sterner, 2012 Mar 09 --- Added /CHAR.
  Copyright (C) 1999, Johns Hopkins University/Applied Physics Laboratory
  This software may be used, copied, or redistributed as long as it is not
  sold and this copyright notice is reproduced on each copy made. This
  routine is provided as is without any express or implied warranties
  whatsoever. Other limitations apply as described in the file disclaimer.txt.



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us