Institut für Astronomie und AstrophysikAbteilung AstronomieWaldhäuser Str. 64, D-72076 Tübingen, Germany |
YMD2DN
Convert from year, month, day to day number of year.
dy = ymd2dn(yr,m,d)
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
dy = day number in year (like 310). out
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
[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]