Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Some list based actions support data filtering parameter startDate and endDate as indicated in the Reference. This describes in more detail what that means.

  • getQuestionList - based on the data the question was asked
  • runFromQuestionList - based on the data the question was asked

Parameters:

  1. startDate - Earliest date to get data. 
  2. endDate - Latest date for history data entries. Default to now (most recent).

The dates should be specified to match the dateFormat parameter. If not provided, the local default format will be tried. The CLI also tries (release 4.3 and higher) some standard default formats like: yyyy-MM-dd HH:mm:ss

Special Values

The date fields support some special values to make range selection easier: Table plusValueScaleDescriptionResolutiontodayday

  • Use for startDate to retrieve all entries for the current day.
Date only-1d, -2d, ...day
  • Use for startDate and/or endDate.
  • Use to indicate days back from today's date. 
  • For instance, setting startDate to -1d will get all history for yesterday.
Date only-1h, -2h, ...hour
  • Use for startDate and/or endDate.
  • Use to indicate hours back from now. 
  • For instance, setting startDate to -24h will get all history for the last 24 hours.
Date and time-30m, -90m, ...minute
  • Use for startDate and/or endDate.
  • Use to indicate minutes back from now.
  • For instance, setting startDate to -30m will get all history for the last 30 minutes.
Date and time-30s, ...seconds
  • Use for startDate and/or endDate.
  • Use to indicate seconds back from now.
Date and time
Include Page
ACLI:Shared - date filtering special values
ACLI:Shared - date filtering special values