|
Do you have source some source that you want to share? Is there some source that you want to see posted here? If so, Contact Us and we'll be more than happy to help. |
D*-------------------------------------------------------------------------------------------
D DayOfWeek S 9 Wed is 9 bytes
D*-------------------------------------------------------------------------------------------
C* -
C Eval DayOfWeek = %SubST( ('Sunday ' +
C 'Monday ' +
C 'Tuesday ' +
C 'Wednesday' +
C 'Thursday ' +
C 'Friday ' +
C 'Saturday ' ) :
C ( ( ( %REM (
C %DIFF( %DATE() : %DATE('1941-12-07') : *D)
C : 7 ) + 1 ) * 9 ) ) - 8 : 9 )
C* -
C DayOfWeek Dsply
C* -
C Seton LR
C Return
|