A date's day of the week.
An integer between 1 and 7: 1 = Monday, 7 = Sunday.
|Date||A date in OI internal format. (REQUIRED)|
The "DayOfWeek" service returns the day of the week of an OI date. The day of the week is returned as an integer between 1 and 7, with 1 being Monday and 7 being Sunday. For example, if an OI date represents March 30, 1978, this service would return 4, since that date falls on a Thursday. If the given date is not valid, "" is returned.