Program: MKDATEBYNO

  mkdatebyno        calculation of day and month from the days number
 
  formula from:
 
  Jean Meeus
  "Astronomische Berechnungen"
  2., durchges. Auflage
  Joh. Ambrosius Barth, Leipzig, Berlin, Heidleberg, 1994
 
  call: [d,m]=mkdatebyno(n,yr)
 
           n: the number of the day, an integer number from 1 to 365 (366)
          yr: the year, used to determine the total number of days
 
  result: d: the day, e.g. the 24 in the date of Xmas
          m: the month, e.g. the 12 in the date of Xmas
 
  THIS FUNCTION MUST HAVE TWO OUTPUT ARGUMENTS
 
  see also mkdayno
 
  M. Knapmeyer, 29.05.1995

Read M-File Source Code


eof.