Time Spans

Time spans are used throughout Opportunity Detect to specify time periods.

Calendar and rolling time spans

There are two types of time span, as follows.

Calendar
Calendar time spans have fixed start and end points, specified using time constants that have defined meanings within the system.
Rolling
Rolling time spans have a defined number of time units, but the start and end points are not fixed.

Time Span fields

Table 1. Time Span fields
Field Description
Quantity You can enter a number directly in this field, or use the Value Selector to set the quantity of time units for the time span.
Select Value You can use Value Selector to set the quantity of time units for the time span.
Time unit fields You use the two time unit fields to set the type and unit of the time span.

The type can be Calendar or Rolling. The behavior of these time span types varies, depending on the component where they are used. Calendar time spans work in conjunction with time constants, which have defined meanings.

Tip: See related topics for details.

The available time units are:

  • Second

    Applies to calendar time spans only, not to rolling time spans. A time unit of "second" is not valid for a rolling time period. For example, a rolling day has an hour, minute, and second starting point, such as 13:12:44. However, Opportunity Detect does not track units smaller than seconds on the incoming transaction, so there is no way to track units smaller than seconds and therefore no way to track rolling seconds.

  • Minute
  • Hour
  • Day
  • Week
  • Month
  • Quarter
  • Year