Creating New Custom Dateranges

To create a new set of custom date range, you must define each custom range in turn.

Here, we demonstrate how to build a set of custom date ranges called My Date Range Set. We define the first one date range, 3 min, in detail. Then, we define the rest of them in similar manner.

Follow these steps:

  1. Click the (gear) icon to open the Administration menu, and select Custom Dates.

    Administration menu; shows Set Homepage and Job Status, Site Administration that includes Activity Log, Users & Groups, Manage Roles, Manage API Keys, Email Templates, Custom Styles, Custom Colors, Custom Dates (active), Static Assets, and Site Settings Site Administration menu shows Users & Groups, Manage Roles, Custom Styles, Custom Colors, Custom Dates (active), Static Assets, and Site Settings
  2. In the Manage Custom Dateranges interface, click New Custom Daterange.

    Manage Custom Dateranges interface, empty, New Custom Daterange button (active), and a list of dateranges (empty)
  3. In the Custom Date interface, enter the Name of the custom date.

    We used My Date Range Set.

    name the date range set
  4. In the list of ranges, define the first range:

    1. Name

      Enter the Name of the new range; we used 3 min.

    2. Start Date Anchor

      Under Start Date Anchor, select one of the options:

      • Anchor to Today (default)
      • Anchor to Now
      • Anchor to Date, which is the current date by default. To specify an alternate date, click in the edit field and select from the calendar interface.

        Select Anchor Date from Calendar
      • Anchor to Time, which is the current timestamp by default. To specify an alternate timestamp, click in the edit field and select from the calendar and time interface.

        Select Anchor Time from Calendar

      We selected Anchor to Now.

      Click Apply.

      Name the date range set, and set Start Date Anchor
    3. Start Date Rules

      Under Start Date Rules, click the (plus) icon, and proceed to specify the first stat date rule:

      • Click the text box with operations (Add), and select the operation for the date rule: Add (default), Subtract, Startof, or Endof. We used Subtract.
      • Click the text box with numbers, and select the appropriate time offset. We used 3.
      • Click the text box with units, and select one of the time units from the menu: Seconds, Minutes, Hours, Days, Weeks, Months, Years, or Quarters (default). We selected Minutes.

      This completes the specification of the first start date rule.

      Set Start Date Rules

      To delete or remove a rule, click the (delete) icon beside the rule.

      To delete or remove a rule, click the (delete) icon beside the rule.

      remove or add start date rule
    4. End Date Anchor

      This works just like the Start Date Anchor described in 4.b.

      Under End Date Anchor, select one of the options:

      • Anchor to Today (default)
      • Anchor to Now
      • Anchor to Date, which is the current date by default. To specify an alternate date, click in the edit field and select from the calendar interface.
      • Anchor to Time, which is the current timestamp by default. To specify an alternate timestamp, click in the edit field and select from the calendar and time interface.

      Click Apply.

      We did not make a selection, and left this setting at default.

      Set End Date Anchor
    5. End Date Rules

      This works just like the Start Date Rules described in 4.c.

      Under End Date Rules, click the (plus) icon.

      Set End Date Rules

      Proceed to specify the first rule:

      • Click the text box with operations (Add), and select the operation for the date rule: Add (default), Subtract, Startof, or Endof.
      • Click the text box with numbers, and select the appropriate time offset.
      • Click the text box with units, and select one of the time units from the menu: Seconds, Minutes, Hours, Days, Weeks, Months, Years, or Quarters (default).

      This completes the specification of the first end date rule.

      We did not make a selection, and left this setting at default.

      To delete or remove a rule, click the (delete) icon beside the rule.

      To delete or remove a rule, click the (delete) icon beside the rule.

    6. Delete Date Range

      To remove the entire date range, click (remove) icon at the end of the row that specifies the date range.

      Delete Date Range
  5. Click Save tat the top of the interface to save the first date range.

    Notice that the ID of the set appears at the top of the interface.

  6. To create another custom date range, click Add New Range.

    static asset successfully added
  7. Following the earlier steps, create additional dateranges.

    We created the following dateranges in addition to the 3 min: 5 min, 10 min, 15 min, 30 min, 1 hr, 3 hr, 6 hr, 9 hr, 12 hr, 1 day, 3 day, 5 day, 1 wk, 2 wk, 1 month, 2 month, 1 quarter, 2 quarter, 1 year, 2 year, 3 year.

    Click Save.

    Save completed set of dateranges
  8. Click Custom Dates at the top of the interface.

  9. In the Manage Custom Dateranges interface, notice that the list contains the new set, My Date Range Set, with all defined ranges.

    List of daterange sets, first one only