To get the current-date from system date and to display it, I am using below code:
Code: Select all
PROCEDURE DIVISION.
01-DATE-PARA.
ACCEPT WS-DATE FROM DATE.
DISPLAY 'THE DATE: ' WS-DATE.
Thanks.
Code: Select all
PROCEDURE DIVISION.
01-DATE-PARA.
ACCEPT WS-DATE FROM DATE.
DISPLAY 'THE DATE: ' WS-DATE.
Code: Select all
___ Format 2: system information transfer ________________________________________________________ | | | >>__ACCEPT__identifier-2__FROM__ _DATE__ __________ _ ________________________________________>< | | | |_YYYYMMDD_| | | | |_DAY__ _________ ___| | | | |_YYYYDDD_| | | | |_DAY-OF-WEEK________| | | |_TIME_______________| | | | |__________________________________________________________________________________________________|
You need to be a member in order to post a reply
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute