Label | Explanation | Data Type |
Input Rows
| The data containing a date field to which the selection will be applied. | Table View; Feature Layer |
Selection Type
| Specifies how the selection will be applied and what will occur if a selection already exists.
| String |
Time Type
| Specifies how date and time fields will be used to select records.
| String |
Date Field
(Optional) | The date field from the input layer on which the selection will be based. This parameter is only active if the Time Type parameter is set to Single Time Field. | Field |
Start Date Field
(Optional) | The start date field from the time range on which the selection will be based. This parameter is only active if the Time Type parameter is set to Time Range Fields . | Field |
End Date Field
(Optional) | The end date field from the time range on which the selection will be based. This parameter is only active if the Time Type parameter is set to Time Range Fields. | Field |
Selection Options
(Optional) | Specifies how date and time selections will be made.
| String |
Date Selection Type
(Optional) | Specifies whether records will be selected based on a date range, single date, recency period, or comparative time period. This parameter is only active when the Selection Options parameter is set to Date.
| String |
Date
(Optional) | The single date and time to be selected. This parameter is only active when the Date Selection Type parameter is set to By Single Date. | Date |
Start Date
(Optional) | The start date of the date range. This parameter is only active when the Date Selection Type parameter is set to By Date Range. | Date |
End Date
(Optional) | The end date of the date range. This parameter is only active when the Date Selection Type parameter is set to By Date Range. | Date |
Use Current System time as End Time
(Optional) | Specifies whether records from the current day (local system time) will be included in the selection if they exist in the recent time period.
For example, the time slice specified is 14 days, the local system time is 5:00 p.m on January 15 when the tool runs, the recency time period includes all records between 5:00 p.m. on the date 14 days ago and 5:00 p.m. on the day the tool runs, and this parameter is checked. In this example, the selection will be January 1, 2017 5:00:00 PM to January 15, 2017 5:00:00 PM for the 14-day time slice. Using this same example with this parameter unchecked, the recent period uses the beginning of the current day as the end time (based on local system time). In this case, the selection will be January 1, 2017 12:00:00 AM to January 15, 12:00:00 AM for the 14-day time slice. This parameter is only active when the Date Selection Type parameter is set to By Comparative Time Period or By Recency. | Boolean |
Time Slice
(Optional) |
The number of time units (minutes, hours, days, weeks, months, or years) defining the recent time period on which the selection will be based, for example, events within the last 14 days. This parameter is only active when the Date Selection Type parameter is set to By Comparative Time Period or By Recency. | Time Unit |
Start Time (Optional) | The start time of the time range. This parameter is only active when the Selection Options parameter is set to Time. | Date |
End Time (Optional) | The end time of the time range. This parameter is only active when the Selection Options parameter is set to Time. | Date |
Days of Week
(Optional) | Specifies the day or days of the week that will be used to select records. This parameter is only active when the Selection Options parameter is set to Day of week.
| String |
Months (Optional) | Specifies the month or months that will be used to select records. This parameter is only active when the Selection Options parameter is set to Month.
| String |
Years (Optional) | The year or years that will be used to select records. This parameter is only active when the Selection Options parameter is set to Years. | Long |
Derived Output
Label | Explanation | Data Type |
Updated Layer or Table View | The updated inputs with selections applied. | Table View; Feature Layer |
Row Count | The number of selected records. | Long |