# DateRange`N` Configuration

When you turn on date-based indexing (see DistributeByDate), you must create a `[DateRangeN]` section for each date range that you want to index. In each section, you configure the range of dates, and the configuration numbers of the child servers that you want use to store documents with those dates.

For example:

    [DateRange0]
    FromDate=1980/01/01
    UptoDate=1990/01/01
    Engines=0,1

    [DateRange1]
    FromRelative=-3
    UptoRelative=5
    Engines=2,3

Servers 0 and 1 index documents dated from the 1st of January 1980 to the 31st of December 1989. If today is Tuesday (relative 0), servers 2 and 3 get documents dated from last Saturday (relative -3) and from this Saturday (relative 4).

The upper limit is exclusive.

_FT_HTML5_bannerTitle.htm