Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Need to validate a date

Former Member
0 Kudos

I am taking two dates through select option. I need to check whether both are in correct format and whether the former entry is earlier than the later entry. Can anybody please give the required code for it

1 ACCEPTED SOLUTION

Former Member
0 Kudos

in select option it will not take any invalid date it self.

and to check which date is greater just use < and > operators...

3 REPLIES 3

Former Member
0 Kudos

in select option it will not take any invalid date it self.

and to check which date is greater just use < and > operators...

0 Kudos

hi

loop at screen event we need to validate the date then its works.

Thank You,

Santhosh

Former Member
0 Kudos

Hi ,

In Select option when you enter the date through selection screen ,it's check automatically and display a message that lower limit is greater then upper limit ..

or else any other requirement you can do it in Selelection-screen output.

if date-low > date-high .

message E001(zxcv) with 'lower limit is greater then upper limit ..' .

endif.

Regards,

Tarak