View previous topic :: View next topic |
Author |
Message |
venkata Beginner
Joined: 31 Dec 2002 Posts: 16 Topics: 8 Location: India
|
Posted: Fri Jan 17, 2003 1:48 am Post subject: Converting date into days and days into date. |
|
|
Hi Friends,
I have used in my program this command to convert the date into number of days. i.e. FUNCTION INTEGER-OF-DATE . But after compilation I got the error saying that "FUNCTION" was not defined as a data-name and "INTEGER-OF-DATE" was invalid.
Can anybody tell, what is the function we can use to convert date into number of days?
Thanks,
Venkata |
|
Back to top |
|
|
Manas Biswal Intermediate
Joined: 29 Nov 2002 Posts: 382 Topics: 27 Location: Chennai, India
|
|
Back to top |
|
|
venkata Beginner
Joined: 31 Dec 2002 Posts: 16 Topics: 8 Location: India
|
Posted: Mon Jan 20, 2003 8:38 am Post subject: |
|
|
Hi Manas,
Thanks for your valuable suggestion.
But Still I am getting error. According to your suggestion I have modified the code to convert date into days like below.
WS-DAYS = CEEDAYS(YYYYMMDD) and error message is "=" was invalid. Skipped to the next verb, period or procedure-name definition.
Can you tell me, whether my code is correct or not?
Thanks,
Venkata |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12368 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
|
|