View previous topic :: View next topic
|
Author |
Message |
sivatechdrive
Active User
Joined: 17 Oct 2004 Posts: 191 Location: hyderabad
|
|
|
|
Hi all
i have a doubt,
is ther any intrinsic function in cobol to check whether,the given date is valid or not
thanks
siva |
|
Back to top |
|
|
mainframemouli
New User
Joined: 01 Mar 2005 Posts: 52 Location: Mysore
|
|
|
|
i don't think there is a sopecific function for date validness , but using the following date functions we can do that with some codings.
CURRENT-DATE
DATE-OF-INTEGER
DATE-OF-YYYYMMDD
DATEVAL
DATE-OF-INTEGER
DAY-OF-YYYYMMDD
INTEGER-OF-DATE
INTEGER-OF-DAY
UNDATE
WHEN-COMPILED
YEAR-TO-YYYY
YEAR-WINDOW
the name suggests its purpose of work. |
|
Back to top |
|
|
|