>  Docs Center  >  Libraries  >  ASTROLIB  >  YMD2DN
Libraries

YMD2DN

YMD2DN

Name


      YMD2DN

Purpose


      Convert from year, month, day to day number of year.

Category


Calling Sequence


      dy = ymd2dn(yr,m,d)

Inputs


      yr = year (like 1988). scalar or vector
      m = month number (like 11 = Nov). scalar or vector
      d = day of month (like 5). scalar or vector

Keyword Parameters


Outputs


      dy = day number in year (like 310). out

Common Blocks


Notes


Modification History


      Written by R. Sterner, 20 June, 1985.
      Johns Hopkins University Applied Physics Laboratory.
      RES 18 Sep, 1989 --- converted to SUN
      R. Sterner, 1997 Feb 3 --- Made work for arrays.
  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.
Converted to IDL V5.0 W. Landsman 2-Jan-1998



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us