!***************************************************************************!
!* *!
!* WDAY *!
!* ROUTINE to get the day of week within a basic program *!
!* *!
!***************************************************************************!
! Copyright (C) 1987
! by
! Attorney's Title Services, Inc.
! All Rights Reserved
! Written by: Jim Benard
!
!Edit History:
!1.0 Feb 27, 1987 created. /jlb
MAP1 JULIAN, F, 6 ! Julian date
MAP1 DATE1, S, 10 ! Starting Date (ccyymmdd)
MAP1 JYEAR, F, 6 ! Current Year
MAP1 JMONTH, F, 6 ! Current Month
MAP1 JDAY, F, 6 ! Current Day
MAP1 DATE'KEY, S, 10,"19870227" ! Starting Date (ccyymmdd)
!//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\!
DAY'OF'WEEK:
!* Routine to calculate the day of the week using *!
!* ancient calculations and virgin sacrifices. *!
!********************************************************!