CompuServe Thread

#BASEDATE Problem

4 messages in this thread
#40276From: Larry ShanahanMar 28, 1994 5:37 PM
Bill, When using the BASEDATE option of the DATE() function, a friend of mine noticed that if you try: result = date('b',19500101,'s') you get an error when using any date before 19770101 The error is Error 18, Invalid argument to function. Stay cool B-) -Larry
#40284From: Bill HawesMar 29, 1994 7:28 AM
Larry, ARexx starts it calendar with 19770101 and works forward from there. -Bill Hawes
#40720From: Larry ShanahanApr 23, 1994 9:29 AM
>ARexx starts it calendar with 19770101 and works forward from there. So in other words the farthest back you can go using a SORTED date is 19770101, making BASEDATE conversions prior to that impossible? Stay cool B-) -Larry
#40722From: Bill HawesApr 23, 1994 4:04 PM
Yes, the ARexx calendar conversion was intended for current and future dates. BASEDATE conversions allow you to compute the interval in days between calendar dates. -Bill Hawes