6.7.11   Relative Time Chooser

This allows an expression to be set up, defining a time to be offset, relative to another specified time.

The editor is shown when defining a field of the type date, for example for use with the CompareField condition. The editor can be seen in Figure 74.

The parameters the editor are described in Table 53.

Table 53    The Parameters in the Relative Time Chooser

Name

Description

Values

Use Field

If the checkbox is selected the Date field contains a drop-down menu of the applicable date fields.

 

Date

The time that the resulting time is relative to.


It may be the value of a field, or entered manually by typing or by selecting from the date and time editor panel.

The format is YYYY-MM-DD hh:mm:ss

Operation

Defines if the relative time should be before or after the date in the Time field.

One of:


  • NONE

  • ADD

  • SUBTRACT

Offset

Defines the magnitude of the difference between the two times.

An integer value, plus one of:


  • Seconds

  • Minutes

  • Hours

  • Days

  • Months

  • Years

Figure 74   Relative Time Chooser Panel