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

MONTHNAMES

MONTHNAMES

Name


      MONTHNAMES

Purpose


      Returns a string array of month names.

Category


Calling Sequence


      mnam = monthnames([num])

Inputs


      num = optional month number (can be array). in

Keyword Parameters


Keywords


        /FULL return full month name (else 3 letters only).
        /UPPER force all upper case (else mixed).
        /LOWER force all lower case (else mixed).

Outputs


      mnam = returned month name(s). out
        if num not given returns string array of 13 items:
        ['Error','January',...'December']

Common Blocks


Notes


Modification History


      R. Sterner, 18 Sep, 1989
      R. Sterner, 2001 May 24 --- Now returns name of given month.
      R. Sterner, 2010 May 04 --- Converted arrays from () to [].
  Copyright (C) 1989, 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.



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