[ library(calendar) | The ECLiPSe Libraries | Reference Manual | Alphabetic Index ]

# mjd_to_dwy(++MJD, ?DWY)

Convert an MJD to a DayOfWeek/WeekOfYear/Year representation

MJD
  Integer or float
DWY
  Variable or structure of the form Day/Week/Year

## Description

Convert MJDs to a DayOfWeek/WeekOfYear/Year representation, where DayOfWeek is the day number within the week (1 for monday up to 7 for sunday), and WeekOfYear is the week number within the year (starting with 1 for the week that contains January 1st)