Uwe,

You can package anything as your own 'single' command, but the only
sensible way to do what you want to do is to convert your
year-month-day Gregorian-calendar date into a day number, subtract
one, and convert the difference back into a year-month-day value.

There are library routines that perform the conversions YMD==>GDN,
GDN==>YMD, you will have to subtract  the one yourself.

John Gilmore, Ashland, MA 01721 - USA

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to