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: 

simple date range logic

naveenvishal
Contributor
0 Kudos

how to find that my date range not falls in between the specified date ranges, is there any function module for that..

A B C

<----


>

<----


>

<----


>

Myrange |<------>|

Since it falls in c, it should show that...

thanx

2 REPLIES 2

Former Member
0 Kudos

Build a range table for dates R_DATE (if it is not specified as a select-option).

Use uthe following code.

if date not in R_DATE

endif.

naveenvishal
Contributor
0 Kudos

well, the date ranges r not fixed in range as well in numbers, so i cant create a date range.

the solution to wht i implemented is that i have to loop throgh each date range to check if that required date range falls in any of that ranges.

Thanx for replay anyways...

Naveen Vishal