Page 1 of 1

Function in REXX

PostPosted: Wed Sep 10, 2008 7:25 am
by opelosi
Hi folks...

I looking for a function in REXX that would return what day Christmas day falls on in any given year. The input to the exec is year.

Does anyone have any clue how to do that??

Cheers,

Orlando

Re: Function in REXX

PostPosted: Wed Sep 10, 2008 7:46 am
by dick scherrer
Hello opelosi and welcome to the forums,

Try here:
http://publibz.boulder.ibm.com/cgi-bin/ ... 350/4.3.16?

You need to "build" the complete date from the year entered. Fortuntely, Christmas is always Dec 25 ;)

Re: Function in REXX

PostPosted: Wed Sep 10, 2008 11:13 pm
by opelosi
Thanks!! It worked ;)

Re: Function in REXX

PostPosted: Thu Sep 11, 2008 12:13 am
by dick scherrer
You're welcome - thanks for letting us know it is working :)

d