------------------------------------------------------------------------ IMSL Name: NDYIN (Single precision version) Revised: May 30, 1991 Purpose: Give the date corresponding to the number of days since January 1, 1900. Usage: CALL NDYIN (NDAYS, IDAY, MONTH, IYEAR) Arguments: NDAYS - Number of days since January 1, 1900. (Input) IDAY - Day of the input date. (Output) MONTH - Month of the input date. (Output) IYEAR - Year of the input date. (Output) 1950 would correspond to the year 195 A.D. and -50 would correspond to year 50 B.C. Remark: The beginning of the Gregorian calendar was the first day after October 4, 1582, which became October 15, 1582. Prior to that, the Julian calendar was in use. Routine NDYIN makes the proper adjustment for the change in calendars. Keywords: Utilities; Calendar GAMS: R Chapters: STAT/LIBRARY Utilities MATH/LIBRARY Utilities Page No.: STAT/LIBRARY User's Manual page 1431 MATH/LIBRARY User's Manual page 1310