Hello Group,

In REXX , we have Date function to calculate today's date but do we have
any separate function to calculate yesterday's date.

currently, we used

TODAY= DATE('S')
YESTERDAY  = TODAY - 1

this code work whole month but, starting of the month where we have date

ex :

TODAY - '20180801'

then yesterday will be calculated like

TODAY -1 , So yesterday value will be
YESTERDAY = '20180800'  , which is wrong.

Can you please help to overcome this issue.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to