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

MONTHDAYS

MONTHDAYS

Name


      MONTHDAYS

Purpose


      Given a year and month returns number of days in that month.

Category


Calling Sequence


      days = monthdays(yr,mon)

Inputs


      yr = year (like 1988). in
      mon = month number (like 11 = Nov). in

Keyword Parameters


Outputs


      days = number of days in month (like 30). out

Common Blocks


Notes


      Notes: If mon is 0 then return array of
      month days for entire year.

Modification History


      R. Sterner, 14 Aug, 1985.
      RES 18 Sep, 1989 --- converted to SUN
      R. Sterner, 2010 Jun 07 --- Converted arrays from () to [].
  Copyright (C) 1985, 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